Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-includes/sitemaps/providers/class-wp-sitemaps-taxonomies.php | apply_filters | 128 | /** * 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. */ |
Hook Parameters
Parameter 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. |