wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



term_exists_default_query_args › WordPress Filter Hooks

Da6.0.0
Deprecaton/a
apply_filters( 'term_exists_default_query_args', $defaults, $term, $taxonomy, $parent_term )
Parametri: (4)
  • (array) $defaults An array of arguments passed to get_terms().
    Richiesto:
  • (int|string) $term The term to check. Accepts term ID, slug, or name.
    Richiesto:
  • (string) $taxonomy The taxonomy name to use. An empty string indicates the search is against all taxonomies.
    Richiesto:
  • (int|null) $parent_term ID of parent term under which to confine the exists search. Null indicates the search is unconfined.
    Richiesto:
Definito a:
Codex:

Filters default query arguments for checking if a term exists.





Sorgenti

$defaults = apply_filters( 'term_exists_default_query_args', $defaults, $term, $taxonomy, $parent_term );