apply_filters( 'wp_sitemaps_index_entry', array $sitemap_entry, string $object_type, string $object_subtype, int $page )

Filters the sitemap entry for the sitemap index.


Parameters

$sitemap_entry

Sitemap entry for the post.

$object_type

Object empty name.

$object_subtype

Object subtype name.<br> Empty string if the object type does not support subtypes.

$page

Page number of results.


Source

File: wp-includes/sitemaps/class-wp-sitemaps-provider.php

View on GitHub


Changelog

Changelog
Version Description
5.5.0 Introduced.