A WordPress-centric search engine for devs and theme authors



get_terms_defaults ›

Since4.4.0
Deprecatedn/a
apply_filters( 'get_terms_defaults', $this->query_var_defaults, $taxonomies )
Parameters: (2)
  • (array) $defaults An array of default get_terms() arguments.
    Required: Yes
  • (string[]) $taxonomies An array of taxonomy names.
    Required: Yes
Defined at:
Codex:

Filters the terms query default arguments.

Use {@see 'get_terms_args'} to filter the passed arguments.





Source

$this->query_var_defaults = apply_filters( 'get_terms_defaults', $this->query_var_defaults, $taxonomies );