WordPress at a glance
function is not described

is_term() WP 2.3.0

Deprecated in 3.0.0. It is no longer supported and can be removed in future releases. Use term_exists() instead.

Check if Term exists.

  • See: term_exists()

No Hooks.

Return

Mixed. Get the term id or Term Object, if exists.

Usage

is_term( $term, $taxonomy, $parent );
$term(int/string) (required)
The term to check
$taxonomy(string)
The taxonomy name to use
Default: ''
$parent(int)
ID of parent term under which to confine the exists search.
Default: 0

Code of is term: wp-includes/deprecated.php WP 5.2.2

<?php
function is_term( $term, $taxonomy = '', $parent = 0 ) {
	_deprecated_function( __FUNCTION__, '3.0.0', 'term_exists()' );
	return term_exists( $term, $taxonomy, $parent );
}