WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about get_terms

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/taxonomy.php apply_filters 1330 /**
* Filters the found terms.
*
* @since 2.3.0
* @since 4.6.0 Added the `$term_query` parameter.
*
* @param array $terms Array of found terms.
* @param array|null $taxonomies An array of taxonomies if known.
* @param array $args An array of get_terms() arguments.
* @param WP_Term_Query $term_query The WP_Term_Query object.
*/

Hook Parameters

Parameter Type Name Description
array $terms Array of found terms.
array|null $taxonomies An array of taxonomies if known.
array $args An array of get_terms() arguments.
WP_Term_Query $term_query The WP_Term_Query object.