On this page
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_entryarray-
Sitemap entry for the term.
$term_idint-
Term ID.
$taxonomystring-
Taxonomy name.
$termWP_Term-
Term object.
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 );
Related
Used By
| Used By | Description |
|---|---|
| WP_Sitemaps_Taxonomies::get_url_list() wp-includes/sitemaps/providers/class-wp-sitemaps-taxonomies.php | Gets a URL list for a taxonomy sitemap. |
Changelog
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_sitemaps_taxonomies_entry