is_taxonomy()
Deprecated from version 3.0.0. It is no longer supported and can be removed in future releases. Use taxonomy_exists() instead.
Checks that the taxonomy name exists.
No Hooks.
Return
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.7.1
function is_taxonomy( $taxonomy ) { _deprecated_function( __FUNCTION__, '3.0.0', 'taxonomy_exists()' ); return taxonomy_exists( $taxonomy ); }