get_terms_args, $args, $taxonomies
get_terms_args, $args, $taxonomies
Appears in: 7.0.3
Hook Type: filter
Displaying hooks found in version: 7.0.3apply_filters('get_terms_args, $args, $taxonomies') is found 1 times:
- /wp-includes/class-wp-term-query.php line 408
* * @param array $args An array of get_terms() arguments. * @param string[] $taxonomies An array of taxonomy names. */ $args = apply_filters( 'get_terms_args', $args, $taxonomies ); // Avoid the query if the queried parent/child_of term has no descendants. $child_of = $args['child_of']; $parent = $args['parent']; if ( $child_of ) {