bbp_is_theme_compat_active()

Gets true/false if page is currently inside theme compatibility

Description

Return

(bool)

Source

File: bp-forums/core/theme-compat.php

183
184
185
186
187
188
189
190
function bbp_is_theme_compat_active() {
    $bbp = bbpress();
 
    if ( empty( $bbp->theme_compat->active ) )
        return false;
 
    return $bbp->theme_compat->active;
}

Changelog

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.