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.


Top ↑

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;
}

Top ↑

Changelog Changelog

Changelog
Version Description
1.7.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.