Function Reference: geodir_action_author_sidebar_right

Summary

Build the content via hooks for the author page right sidebar.

Description

Can be enabled/disabled from GD>Design>Author page.

Package

GeoDirectory

Change Log

Since: 1.0.0

Actions

‘geodir_sidebar_right_open’ [Line: 2936]

‘geodir_author_sidebar_right_inside’ [Line: 2942]

‘geodir_sidebar_right_close’ [Line: 2944]

Source File

geodir_action_author_sidebar_right() is located in geodirectory_template_actions.php [Line: 2932]

Source Code

function geodir_action_author_sidebar_right()
{
    if (get_option('geodir_show_author_right_section')) {
        /** This action is documented in geodirectory_template_actions.php */
        do_action('geodir_sidebar_right_open', 'author-page', 'geodir-sidebar-right', 'geodir-sidebar-right geodir-listings-sidebar-right', 'http://schema.org/WPSideBar');
        /**
         * This is used to add the content to the author page right sidebar (if active).
         *
         * @since 1.0.0
         */
        do_action('geodir_author_sidebar_right_inside');
        /** This action is documented in geodirectory_template_actions.php */
        do_action('geodir_sidebar_right_close', 'author-page');
    }
}