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
-
(array) Sitemap entry for the post.
- $object_type
-
(string) Object empty name.
- $object_subtype
-
(string) Object subtype name. Empty string if the object type does not support subtypes.
- $page
-
(int) Page number of results.
Source
Changelog
Version | Description |
---|---|
5.5.0 | Introduced. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_sitemaps_index_entry