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



wp_sitemaps_index_entry › WordPress Filter Hooks

Since5.5.0
Deprecatedn/a
apply_filters( 'wp_sitemaps_index_entry', $sitemap_entry, $this->object_type, $type['name'], $page )
Parameters: (4)
  • (array) $sitemap_entry Sitemap entry for the post.
    Required: Yes
  • (string) $object_type Object empty name.
    Required: Yes
  • (string) $object_subtype Object subtype name. Empty string if the object type does not support subtypes.
    Required: Yes
  • (int) $page Page number of results.
    Required: Yes
Defined at:
Codex:

Filters the sitemap entry for the sitemap index.





Source

$sitemap_entry = apply_filters( 'wp_sitemaps_index_entry', $sitemap_entry, $this->object_type, $type['name'], $page );