how to add filter 'tc_show_single_post_content'
-
Hi..
I want to make add filter of this hooks :
function tc_single_post_display_controller() { //check conditional tags : we want to show single post or single custom post types global $post; $tc_show_single_post_content = isset($post) && 'page' != $post -> post_type && 'attachment' != $post -> post_type && is_singular() && !tc__f( '__is_home_empty'); return apply_filters( 'tc_show_single_post_content', $tc_show_single_post_content ); }
by simple added / inserted :
&& 'hotel' != $post -> post_type
still confused modifying filter hooks.
Thanks.
- The topic ‘how to add filter 'tc_show_single_post_content'’ is closed to new replies.