apply_filters( 'get_terms_defaults', array $defaults, array $taxonomies )

Filters the terms query default arguments.


Description

Use ‘get_terms_args’ to filter the passed arguments.


Parameters

$defaults

An array of default get_terms() arguments.

$taxonomies

An array of taxonomies.


Source

File: wp-includes/class-wp-term-query.php

View on GitHub



Changelog

Changelog
Version Description
WP-4.4.0 Introduced.