function is_term( $term, $taxonomy = '', $parent = 0 ) {}

Check if Term exists.


  • int|string $term: The term to check
  • string $taxonomy: The taxonomy name to use
  • int $parent: ID of parent term under which to confine the exists search.

Return values

returns:Get the term id or Term Object, if exists.

Source code

function is_term( $term, $taxonomy = '', $parent = 0 ) {

	_deprecated_function( __FUNCTION__, '3.0', 'term_exists()' );

	return term_exists( $term, $taxonomy, $parent );



No comments yet... Be the first to leave a reply!

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: