get_terms_args filter-hook . WP 3.1.0
Filters the terms query arguments.
Usage
add_filter( 'get_terms_args', 'filter_function_name_3229', 10, 2 ); function filter_function_name_3229( $args, $taxonomies ){ // filter... return $args; }
- $args(array)
- An array of get_terms() arguments.
- $taxonomies(string[])
- An array of taxonomy names.
Changelog
Since 3.1.0 | Introduced. |
Where the hook is called
wp-includes/class-wp-term-query.php 369
$args = apply_filters( 'get_terms_args', $args, $taxonomies );