ACF_Admin_Tool::is_activepublicACF 5.6.3

is_active

This function will return true if the tool is active

Method of the class: ACF_Admin_Tool{}

No Hooks.

Returns

true|false.

Usage

$ACF_Admin_Tool = new ACF_Admin_Tool();
$ACF_Admin_Tool->is_active();

Changelog

Since 5.6.3 Introduced.

ACF_Admin_Tool::is_active() code ACF 6.0.4

function is_active() {
	return acf_maybe_get_GET( 'tool' ) === $this->name;
}