bbp_set_theme_compat_active( bool $set = true )
Sets true/false if page is currently inside theme compatibility
Description
Parameters
- $set
-
(Optional)
Default value: true
Return
(bool)
Source
File: bp-forums/core/theme-compat.php
function bbp_set_theme_compat_active( $set = true ) {
bbpress()->theme_compat->active = $set;
return (bool) bbpress()->theme_compat->active;
}
Changelog
| Version | Description |
|---|---|
| bbPress (r3265) | 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.