is_term
- is_term is deprecated since version 3.0.0!
Alternative: term_exists()
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: - Introduced in WordPress: 2.3.0
- Deprecated in WordPress: 3.0.0
Description
Check if Term exists.