do_action_ref_array( ‘pre_get_terms’, WP_Term_Query $query )

In this article

Fires before terms are retrieved.

Parameters

$queryWP_Term_Query
Current instance of WP_Term_Query (passed by reference).

Source

do_action_ref_array( 'pre_get_terms', array( &$this ) );

Changelog

VersionDescription
4.6.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.