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

Filters the found terms.


Parameters

$terms

Array of found terms.

$taxonomies

An array of taxonomies.

$args

An array of get_terms() arguments.

$term_query

The WP_Term_Query object.


Source

File: wp-includes/taxonomy.php

View on GitHub



Changelog

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