Description
Filters the sitemap entry for an individual term.
Occurrences
Filename | Line Number |
---|---|
wp-includes/sitemaps/providers/class-wp-sitemaps-taxonomies.php | 129 |
Parameters
Type | Name | Description |
---|---|---|
array | $sitemap_entry | Sitemap entry for the term. |
int | $term_id | Term ID. |
string | $taxonomy | Taxonomy name. |
WP_Term | $term | Term object. |
PHP Doc
/**
* Filters the sitemap entry for an individual term.
*
* @since 5.5.0
* @since 6.0.0 Added `$term` argument containing the term object.
*
* @param array $sitemap_entry Sitemap entry for the term.
* @param int $term_id Term ID.
* @param string $taxonomy Taxonomy name.
* @param WP_Term $term Term object.
*/