bbp_set_theme_compat_templates( $templates = array() )
Set the theme compat templates global
Description Description
Stash possible template files for the current query. Useful if plugins want to override them, or see what files are being scanned for inclusion.
Source Source
File: includes/core/theme-compat.php
function bbp_set_theme_compat_templates( $templates = array() ) { bbpress()->theme_compat->templates = $templates; return bbpress()->theme_compat->templates; }
Changelog Changelog
Version | Description |
---|---|
2.0.0 | Introduced. |