apply_filters( ‘wp_sitemaps_taxonomies_entry’, array $sitemap_entry, int $term_id, string $taxonomy, WP_Term $term )

In this article

Filters the sitemap entry for an individual term.

Parameters

$sitemap_entryarray
Sitemap entry for the term.
$term_idint
Term ID.
$taxonomystring
Taxonomy name.
$termWP_Term
Term object.

Source

$sitemap_entry = apply_filters( 'wp_sitemaps_taxonomies_entry', $sitemap_entry, $term->term_id, $taxonomy, $term );

Changelog

VersionDescription
6.0.0Added $term argument containing the term object.
5.5.0Introduced.

User Contributed Notes

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