wpseek.com
A WordPress-centric search engine for devs and theme authors



wp_sitemaps_taxonomies_entry › WordPress Filter Hooks

Since6.0.0
Deprecatedn/a
apply_filters( 'wp_sitemaps_taxonomies_entry', $sitemap_entry, $term->term_id, $taxonomy, $term )
Parameters: (4)
  • (array) $sitemap_entry Sitemap entry for the term.
    Required: Yes
  • (int) $term_id Term ID.
    Required: Yes
  • (string) $taxonomy Taxonomy name.
    Required: Yes
  • (WP_Term) $term Term object.
    Required: Yes
Defined at:
Codex:

Filters the sitemap entry for an individual term.





Source

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