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

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.