bp_is_theme_compat_active()
Is the current page using theme compatibility?
Description Description
Return Return
(bool) True if the current page uses theme compatibility.
Source Source
File: bp-core/bp-core-theme-compatibility.php
function bp_is_theme_compat_active() {
$bp = buddypress();
if ( empty( $bp->theme_compat->active ) ) {
return false;
}
return $bp->theme_compat->active;
}
Changelog Changelog
| Version | Description |
|---|---|
| 1.7.0 | Introduced. |