bbp_get_theme_compat_templates()
Get the templates to use as the endpoint for bbPress template parts
Description Description
Return Return
(string) Path to template file
Source Source
File: includes/core/template-loader.php
function bbp_get_theme_compat_templates() {
$templates = array(
'plugin-bbpress.php',
'bbpress.php',
'forums.php',
'forum.php',
'generic.php',
'page.php',
'single.php',
'singular.php',
'index.php'
);
return bbp_get_query_template( 'bbpress', $templates );
}
Changelog Changelog
| Version | Description |
|---|---|
| 2.6.0 | bbPress (r5950) Added singular.php to template stack |
| 2.0.0 | Introduced. |