bp_set_template_included( mixed $template = false )
Set the included template.
Description
Parameters
- $template
-
(Optional) Default: false.
Default value: false
Return
(mixed) False if empty. Template name if template included.
Source
File: bp-core/bp-core-template-loader.php
function bp_set_template_included( $template = false ) { buddypress()->theme_compat->found_template = $template; return buddypress()->theme_compat->found_template; }
Changelog
Version | Description |
---|---|
BuddyPress 1.8.0 | Introduced. |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.