Function Reference: geodir_action_author_sidebar_left

Summary

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

Description

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

Package

GeoDirectory

Change Log

Since: 1.0.0

Actions

‘geodir_sidebar_left_open’ [Line: 2892]

‘geodir_author_sidebar_left_inside’ [Line: 2898]

‘geodir_sidebar_left_close’ [Line: 2900]

Source File

geodir_action_author_sidebar_left() is located in geodirectory_template_actions.php [Line: 2887]

Source Code

function geodir_action_author_sidebar_left()
{
    if (get_option('geodir_show_author_left_section')) {
// this adds the opening html tags to the primary div, this required the closing tag below :: ($type='',$id='',$class='',$itemtype='')
        /** This action is documented in geodirectory_template_actions.php */
        do_action('geodir_sidebar_left_open', 'author-page', 'geodir-sidebar-left', 'geodir-sidebar-left geodir-listings-sidebar-left', 'http://schema.org/WPSideBar');
        /**
         * This is used to add the content to the author page left sidebar (if active).
         *
         * @since 1.0.0
         */
        do_action('geodir_author_sidebar_left_inside');
        /** This action is documented in geodirectory_template_actions.php */
        do_action('geodir_sidebar_left_close', 'author-page');
    }
}