acf_enable_filter()
acf_enable_filter
Enables a filter with the given name.
Хуков нет.
Возвращает
null
. Ничего.
Использование
acf_enable_filter( $name );
- $name **
- -
По умолчанию: ''
Список изменений
С версии 5.4.0 | Введена. |
Код acf_enable_filter() acf enable filter ACF 6.0.4
function acf_enable_filter( $name = '' ) { acf_get_store( 'filters' )->set( $name, true ); }