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

Filters the sitemap entry for an individual term.


Parameters

$sitemap_entry array
Sitemap entry for the term.
$term_id int
Term ID.
$taxonomy string
Taxonomy name.
$term WP_Term
Term object.

Top ↑

Source

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

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


Top ↑

Changelog

Changelog
Version Description
6.0.0 Added $term argument containing the term object.
5.5.0 Introduced.

Top ↑

User Contributed Notes

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