is_term


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

Parameters:
  • (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.
See:
Returns:
  • (mixed) Get the term ID or term object, if exists.
Defined at:

Description

Check if Term exists.

Related Functions

has_term, is_time, is_year, is_date, is_email

Top Google Results

User discussions

wpseek mobile