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.

Usage

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

	return $defaults;
}
$defaults(array)
An array of default get_terms() arguments.
$taxonomies(string[])
An array of taxonomy names.

Changelog

Since 4.4.0 Introduced.

Where the hook is called

WP_Term_Query::parse_query()
get_terms_defaults
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)

Usage not found!