acf_is_taxonomy_key()
Returns true if the given identifier is an ACF taxonomy key.
Хуков нет.
Возвращает
true|false.
Использование
acf_is_taxonomy_key( $id );
- $id(строка) (обязательный)
- The identifier.
Список изменений
| С версии 6.1 | Введена. |
Код acf_is_taxonomy_key() acf is taxonomy key ACF 6.4.2
function acf_is_taxonomy_key( $id ) {
return acf_is_internal_post_type_key( $id, 'acf-taxonomy' );
}