apply_filters( 'wp_sitemaps_taxonomies_entry', array $sitemap_entry, WP_Term $term, string $taxonomy )

Filters the sitemap entry for an individual term.

Parameters

$sitemap_entry

(array) Sitemap entry for the term.

$term

(WP_Term) Term object.

$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_entry