acf_disable_filter()ACF 5.4.0

acf_disable_filter

Disables a filter with the given name.

No Hooks.

Returns

null. Nothing (null).

Usage

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

Changelog

Since 5.4.0 Introduced.

acf_disable_filter() code ACF 6.0.4

function acf_disable_filter( $name = '' ) {
	acf_get_store( 'filters' )->set( $name, false );
}