Filter Reference: geodir_detail_page_sidebar_content

Summary

An array of functions to be called to be displayed on the details (post) page sidebar.

Description

This filter can be used to remove sections of the details page sidebar,
add new sections or rearrange the order of the sections.

Parameters

array(‘geodir_social_sharing_buttons’,’geodir_share_this_button’,’geodir_detail_page_google_analytics’,’geodir_edit_post_link’,’geodir_detail_page_review_rating’,’geodir_detail_page_more_info’)
(array) (required) The array of functions that will be called.

Default: None

Example

Change Log

Since: 1.0.0

Used by

geodirectory_hooks_actions.php: geodir_detail_page_sidebar_content_sorting() [Line: 349]

Source Code

    $arr_detail_page_sidebar_content =
        /**
         * An array of functions to be called to be displayed on the details (post) page sidebar.
         *
         * This filter can be used to remove sections of the details page sidebar,
         * add new sections or rearrange the order of the sections.
         *
         * @param array array('geodir_social_sharing_buttons','geodir_share_this_button','geodir_detail_page_google_analytics','geodir_edit_post_link','geodir_detail_page_review_rating','geodir_detail_page_more_info') The array of functions that will be called.
         * @since 1.0.0
         */
        apply_filters('geodir_detail_page_sidebar_content',
            array('geodir_social_sharing_buttons',
                'geodir_detail_page_google_analytics',
                'geodir_edit_post_link',
                'geodir_detail_page_review_rating',
                'geodir_detail_page_more_info'
            ) // end of array 
        ); // end of apply filter