bp_set_theme_compat_active( bool $set = true )
Set the flag that tells whether the current page is using theme compatibility.
Description
Parameters
- $set
-
(Optional) True to set the flag to true, false to set it to false.
Default value: true
Return
(bool) Returns the value of $set.
Source
File: bp-core/bp-core-theme-compatibility.php
function bp_set_theme_compat_active( $set = true ) { buddypress()->theme_compat->active = $set; return (bool) buddypress()->theme_compat->active; }
Changelog
Version | Description |
---|---|
BuddyPress 1.7.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.