apply_filters( 'wp_sitemaps_taxonomies_query_args', array $args, string $taxonomy )

Filters the taxonomy terms query arguments.

Description

Allows modification of the taxonomy query arguments before querying.

See also

Parameters

$args

(array) Array of WP_Term_Query arguments.

$taxonomy

(string) Taxonomy name.

Source

File: wp-includes/sitemaps/providers/class-wp-sitemaps-taxonomies.php

View on Trac

Changelog

Version Description
5.5.0 Introduced.

© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_sitemaps_taxonomies_query_args