bp_get_theme_compat_templates()
Get the templates to use as the endpoint for BuddyPress template parts.
Description Description
Return Return
(string) Possible root level wrapper template files.
Source Source
File: bp-core/bp-core-template-loader.php
function bp_get_theme_compat_templates() {
return bp_get_query_template( 'buddypress', array(
'plugin-buddypress.php',
'buddypress.php',
'community.php',
'generic.php',
'page.php',
'single.php',
'singular.php',
'index.php'
) );
}
Changelog Changelog
| Version | Description |
|---|---|
| 2.4.0 | Added singular.php to stack |
| 1.7.0 | Introduced. |