acf_is_filter_enabled()
acf_is_filter_enabled
Returns the state of a filter for the given name.
Хуков нет.
Возвращает
Массив.
Использование
acf_is_filter_enabled( $name );
- $name
- .
По умолчанию:''
Список изменений
| С версии 5.4.0 | Введена. |
Код acf_is_filter_enabled() acf is filter enabled ACF 6.4.2
function acf_is_filter_enabled( $name = '' ) {
return acf_get_store( 'filters' )->get( $name );
}