acf_is_filter_enabled()ACF 5.4.0

acf_is_filter_enabled

Returns the state of a filter for the given name.

No Hooks.

Returns

Array.

Usage

acf_is_filter_enabled( $name );
$name
.
Default: ''

Changelog

Since 5.4.0 Introduced.

acf_is_filter_enabled() code ACF 6.0.4

function acf_is_filter_enabled( $name = '' ) {
	return acf_get_store( 'filters' )->get( $name );
}