acf_disable_filter()ACF 5.4.0

acf_disable_filter

Disables a filter with the given name.

Хуков нет.

Возвращает

null. Ничего (null).

Использование

acf_disable_filter( $name );
$name **
-
По умолчанию: ''

Список изменений

С версии 5.4.0 Введена.

Код acf_disable_filter() ACF 6.0.4

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