Used By
Used By | Description |
---|---|
wp-includes/class-wp-term-query.php: WP_Term_Query::get_terms() | Get terms, based on query_vars. |
Filter the terms array before the query takes place.
Return a non-null value to bypass WordPress’s default term queries.
(array|null) Return an array of term data to short-circuit WP's term query, or null to allow WP queries to run normally.
(WP_Term_Query) The WP_Term_Query instance, passed by reference.
Version | Description |
---|---|
5.3.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/terms_pre_query