wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



term_exists_default_query_args › WordPress Filter Hooks

Seit6.0.0
Veraltetn/v
apply_filters( 'term_exists_default_query_args', $defaults, $term, $taxonomy, $parent_term )
Parameter: (4)
  • (array) $defaults An array of arguments passed to get_terms().
    Erforderlich: Ja
  • (int|string) $term The term to check. Accepts term ID, slug, or name.
    Erforderlich: Ja
  • (string) $taxonomy The taxonomy name to use. An empty string indicates the search is against all taxonomies.
    Erforderlich: Ja
  • (int|null) $parent_term ID of parent term under which to confine the exists search. Null indicates the search is unconfined.
    Erforderlich: Ja
Definiert in:
Codex:

Filters default query arguments for checking if a term exists.





Quellcode

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