ACF_Local_JSON::is_enabledpublicACF 5.9.0

Returns true if this component is enabled.

Method of the class: ACF_Local_JSON{}

No Hooks.

Returns

true|false.

Usage

$ACF_Local_JSON = new ACF_Local_JSON();
$ACF_Local_JSON->is_enabled();

Changelog

Since 5.9.0 Introduced.

ACF_Local_JSON::is_enabled() code ACF 6.8.8

public function is_enabled() {
	return (bool) acf_get_setting( 'json' );
}