apply_filters( ‘wp_sitemaps_taxonomies’, WP_Taxonomy[] $taxonomies )

In this article

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

Parameters

$taxonomiesWP_Taxonomy[]
Array of registered taxonomy objects keyed by their name.

Source

return apply_filters( 'wp_sitemaps_taxonomies', $taxonomies );

Changelog

VersionDescription
5.5.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.