is_taxonomy()
Deprecated since 3.0.0. It is no longer supported and may be removed in future releases. Use taxonomy_exists() instead.
Checks that the taxonomy name exists.
No Hooks.
Returns
true|false. Whether the taxonomy exists.
Usage
is_taxonomy( $taxonomy );
- $taxonomy(string) (required)
- Name of taxonomy object.
Notes
- See: taxonomy_exists()
Changelog
| Since 2.3.0 | Introduced. |
| Deprecated since 3.0.0 | Use taxonomy_exists() |
is_taxonomy() is taxonomy code WP 6.8.3
function is_taxonomy( $taxonomy ) {
_deprecated_function( __FUNCTION__, '3.0.0', 'taxonomy_exists()' );
return taxonomy_exists( $taxonomy );
}