bbp_get_theme_compat_templates

  • apply_filters( 'bbp_get_theme_compat_templates', $templates )

    Source Reference:

    • Component: bbPress :: bbp-core
      File: /bbp-includes/bbp-core-compatibility.php :: Trac Source Line: 782
      	$templates = array(
      		'bbpress.php',
      		'forum.php',
      		'page.php',
      		'single.php',
      		'index.php'
      	);
      
      	$templates = apply_filters( 'bbp_get_theme_compat_templates', $templates );
      	$templates = bbp_set_theme_compat_templates( $templates );
      
      	$template  = locate_template( $templates, false, false );
      	$template  = bbp_set_theme_compat_template( $template );
      
      	return $template;
      }
      
      /**
       * Possibly intercept the template being loaded
      

Comments are closed.