wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



term_exists_default_query_args › Filtr WordPress Hooks

Od6.0.0
Przestarzałyn/a
› apply_filters( 'term_exists_default_query_args', $defaults, $term, $taxonomy, $parent_term )
Parametry: (4)
  • () defaults An array of arguments passed to get_terms().
    Wymagane: Tak
  • () term The term to check. Accepts term ID, slug, or name.
    Wymagane: Tak
  • () taxonomy The taxonomy name to use. An empty string indicates the search is against all taxonomies.
    Wymagane: Tak
  • () parent_term ID of parent term under which to confine the exists search. Null indicates the search is unconfined.
    Wymagane: Tak
Zdefiniowane na:
Codex:

Filters default query arguments for checking if a term exists.





Źródło

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