bbp_set_theme_compat_active( bool $set = true )

Sets true/false if page is currently inside theme compatibility


Description Description


Parameters Parameters

$set

(Optional)

Default value: true


Top ↑

Return Return

(bool)


Top ↑

Source Source

File: includes/core/theme-compat.php

function bbp_set_theme_compat_active( $set = true ) {
	bbpress()->theme_compat->active = $set;

	return (bool) bbpress()->theme_compat->active;
}

Top ↑

Changelog Changelog

Changelog
Version Description
2.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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