acf_is_taxonomy_key()
Returns true if the given identifier is an ACF taxonomy key.
No Hooks.
Returns
true|false.
Usage
acf_is_taxonomy_key( $id );
- $id(string) (required)
- The identifier.
Changelog
| Since 6.1 | Introduced. |
acf_is_taxonomy_key() acf is taxonomy key code ACF 6.8.8
function acf_is_taxonomy_key( $id ) {
return acf_is_internal_post_type_key( $id, 'acf-taxonomy' );
}