bp_set_theme_compat_active( bool $set = true )
Set the flag that tells whether the current page is using theme compatibility.
Description Description
Parameters Parameters
- $set
-
(Optional) True to set the flag to true, false to set it to false.
Default value: true
Return Return
(bool) Returns the value of $set.
Source 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 Changelog
Version | Description |
---|---|
1.7.0 | Introduced. |