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: term_exists() | Determines whether a taxonomy term exists. |
This function has been deprecated. Use term_exists() instead.
Check if Term exists.
(int|string) (Required) The term to check
(string) (Optional) The taxonomy name to use
Default value: ''
(int) (Required) ID of parent term under which to confine the exists search.
(mixed) Get the term ID or term object, if exists.
File: wp-includes/deprecated.php
function is_term( $term, $taxonomy = '', $parent = 0 ) {
_deprecated_function( __FUNCTION__, '3.0.0', 'term_exists()' );
return term_exists( $term, $taxonomy, $parent );
} | Version | Description |
|---|---|
| 3.0.0 | Use term_exists() |
| 2.3.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/is_term