W3cubDocs

/WordPress

apply_filters( 'wp_sitemaps_taxonomies', WP_Taxonomy[] $taxonomies )

Filter the list of taxonomy object subtypes available within the sitemap.

Parameters

$taxonomies

(WP_Taxonomy[]) Array of registered taxonomy objects keyed by their name.

Source

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

View on Trac

Changelog

Version Description
5.5.0 Introduced.

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