apply_filters( 'get_terms_defaults', array $defaults, string[] $taxonomies )
Filters the terms query default arguments.
Description
Use ‘get_terms_args’ to filter the passed arguments.
Parameters
- $defaults
-
(array) An array of default get_terms() arguments.
- $taxonomies
-
(string[]) An array of taxonomy names.
Source
Changelog
Version | Description |
---|---|
4.4.0 | Introduced. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/get_terms_defaults