WordPress at a glance
function is not described

is_term() WP 2.3.0

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

Check if Term exists.

No Hooks.


Mixed. Get the term ID or term object, if exists.


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


  • See: term_exists()


Since 2.3.0 Introduced.
Deprecated Since 3.0.0 Use term_exists()

Code of is_term() WP 5.7

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