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_date, is_time, is_year, get_term

Top Google Results

User discussions

wpseek mobile