bbp_template_include_theme_compat

  • apply_filters( 'bbp_template_include_theme_compat', $template )

    Source Reference:

    • Component: bbPress :: bbp-core
      File: /bbp-includes/bbp-core-compatibility.php :: Trac Source Line: 1033
      			// Add a filter on the_content late, which we will later remove
      			add_filter( 'the_content', 'bbp_replace_the_content' );
      
      			// Find the appropriate template file
      			$template = bbp_get_theme_compat_templates();
      		}
      	}
      
      	return apply_filters( 'bbp_template_include_theme_compat', $template );
      }
      
      /**
       * Replaces the_content() if the post_type being displayed is one that would
       * normally be handled by bbPress, but proper single page templates do not
       * exist in the currently active theme.
       *
       * @since bbPress (r3034)
       *
       * @global bbPress $bbp
      

Comments are closed.