WordPress at a glance
filter is not described

get_terms_defaults filter-hook . WP 4.4.0

Filters the terms query default arguments.

Use 'get_terms_args' to filter the passed arguments.


add_filter( 'get_terms_defaults', 'filter_function_name_3297', 10, 2 );
function filter_function_name_3297( $defaults, $taxonomies ){
	// filter...

	return $defaults;
An array of default get_terms() arguments.
An array of taxonomy names.

Where the hook is called

wp-includes/class-wp-term-query.php 244
$this->query_var_defaults = apply_filters( 'get_terms_defaults', $this->query_var_defaults, $taxonomies );

Where the hook is used (in WP core)

Использование не найдено.