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


Top ↑

Return Return

(bool) Returns the value of $set.


Top ↑

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

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.