acf_is_taxonomy()
Returns true if the given params match an ACF taxonomy.
No Hooks.
Returns
boolean.
Usage
acf_is_taxonomy( $taxonomy );
- $taxonomy(array) (required)
- The ACF taxonomy array.
Changelog
| Since 6.1 | Introduced. |
acf_is_taxonomy() acf is taxonomy code ACF 6.8.8
function acf_is_taxonomy( $taxonomy ) {
return acf_is_internal_post_type( $taxonomy, 'acf-taxonomy' );
}