Switch language

wpseek.com
A WordPress-centric search engine for devs and theme authors




is_term [ WordPress Function ]

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:

Soorgelijke functies: has_term, is_date, is_time, is_year, is_category


Check if Term exists.

Source


<?php
function is_term$term$taxonomy ''$parent ) {
    
_deprecated_function__FUNCTION__'3.0''term_exists()' );
    return 
term_exists$term$taxonomy$parent );
}
?>

Examples [ wp-snippets.com ]

Top Google zoekresultaten

Meer ...

0 User Note(s)

Nog geen één. Wees de eerste!

Nieuw toevoegen ...



HTML5 Powered with CSS3 / Styling, Performance & Integration, and Semantics