Warning: This function has been deprecated. Use term_exists() instead.

is_term ( int|string $term, string $taxonomy = '', int $parent )

Check if Term exists.

Return: (mixed) Get the term id or Term Object, if exists.

Source file: wp-includes/deprecated.php

View source



(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.

Used by


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


User Contributed Notes

You must log in before being able to contribute a note.