apply_filters( 'get_terms', array $terms, array $taxonomies, array $args, WP_Term_Query $term_query )

Filters the found terms.


Parameters Parameters

$terms

(array) Array of found terms.

$taxonomies

(array) An array of taxonomies.

$args

(array) An array of get_terms() arguments.

$term_query

(WP_Term_Query) The WP_Term_Query object.


Top ↑

Source Source

File: wp-includes/taxonomy.php

View on Trac



Top ↑

Changelog Changelog

Changelog
Version Description
4.6.0 Added the $term_query parameter.
2.3.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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