Function Reference: geodir_action_search_sidebar_left
Summary
Build the content for the search page left sidebar via hooks.
Description
Can be enabled/disabled from GD>Design>Search page.
Package
GeoDirectory
Change Log
Since: 1.0.0
Actions
‘geodir_sidebar_left_open’ [Line: 3106]
‘geodir_search_sidebar_left_inside’ [Line: 3112]
‘geodir_sidebar_left_close’ [Line: 3114]
Source File
geodir_action_search_sidebar_left() is located in geodirectory_template_actions.php [Line: 3101]
Source Code
function geodir_action_search_sidebar_left() { if (get_option('geodir_show_search_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', 'search-page', 'geodir-sidebar-left', 'geodir-sidebar-left geodir-listings-sidebar-left', 'http://schema.org/WPSideBar'); /** * This is used to add the content to the search page left sidebar (if active). * * @since 1.0.0 */ do_action('geodir_search_sidebar_left_inside'); /** This action is documented in geodirectory_template_actions.php */ do_action('geodir_sidebar_left_close', 'search-page'); } }