bbp_template_include_theme_supports

  • apply_filters( 'bbp_template_include_theme_supports', $template )

    Source Reference:

    • Component: bbPress :: bbp-core
      File: /bbp-includes/bbp-core-compatibility.php :: Trac Source Line: 860
      		// Editing a topic tag
      		elseif ( bbp_is_topic_tag_edit()   && ( $new_template = bbp_get_topic_tag_edit_template()   ) ) :
      		endif;
      
      		// Custom template file exists
      		$template = !empty( $new_template ) ? $new_template : $template;
      	}
      
      	return apply_filters( 'bbp_template_include_theme_supports', $template );
      }
      
      /**
       * In this next bit, either the current theme does not support bbPress, or
       * the theme author has incorrectly used add_theme_support( 'bbpress' )
       * and we are going to help them out by silently filling in the blanks.
       */
      function bbp_template_include_theme_compat( $template = '' ) {
      	global $bbp;
      

Comments are closed.