do_action_ref_array( 'pre_get_terms', WP_Term_Query $this )
Fires before terms are retrieved.
Parameters
- $this
-
(WP_Term_Query) Current instance of WP_Term_Query (passed by reference).
Source
Changelog
Version | Description |
---|---|
4.6.0 | Introduced. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/pre_get_terms