Checks that the taxonomy name exists.
Description
See also
Parameters
$taxonomy
stringrequired- Name of taxonomy object
Source
function is_taxonomy( $taxonomy ) {
_deprecated_function( __FUNCTION__, '3.0.0', 'taxonomy_exists()' );
return taxonomy_exists( $taxonomy );
}
Changelog
Version | Description |
---|---|
3.0.0 | Use taxonomy_exists() |
2.3.0 | Introduced. |
To check if the current page is a custom taxonomy archive page use
is_tax()
.