W3cubDocs

/WordPress

do_action( 'pre_get_terms', WP_Term_Query $this )

Fires before terms are retrieved.

Parameters

$this

(WP_Term_Query) Current instance of WP_Term_Query.

Source

File: wp-includes/class-wp-term-query.php

View on Trac

Changelog

Version Description
4.6.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/pre_get_terms