Uses
| Uses | Description |
|---|---|
| wp-includes/functions.php: _deprecated_function() | Mark a function as deprecated and inform when it has been used. |
| wp-includes/taxonomy.php: taxonomy_exists() | Determines whether the taxonomy name exists. |
This function has been deprecated. Use taxonomy_exists() instead.
Checks that the taxonomy name exists.
(string) (Required) Name of taxonomy object
(bool) Whether the taxonomy exists.
File: wp-includes/deprecated.php
function is_taxonomy( $taxonomy ) {
_deprecated_function( __FUNCTION__, '3.0.0', 'taxonomy_exists()' );
return taxonomy_exists( $taxonomy );
} | Version | Description |
|---|---|
| 3.0.0 | Use taxonomy_exists() |
| 2.3.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/is_taxonomy