Filter hook 'wp_sitemaps_index_entry'

in WP Core File wp-includes/sitemaps/class-wp-sitemaps-provider.php at line 128

Description

Filters the sitemap entry for the sitemap index.

Occurrences

Filename Line Number
wp-includes/sitemaps/class-wp-sitemaps-provider.php 128

Parameters

Type Name Description
array $sitemap_entry Sitemap entry for the post.
string $object_type Object empty name.
string $object_subtype Object subtype name. Empty string if the object type does not support subtypes.
int $page Page number of results.

PHP Doc

/**
				 * Filters the sitemap entry for the sitemap index.
				 *
				 * @since 5.5.0
				 *
				 * @param array  $sitemap_entry  Sitemap entry for the post.
				 * @param string $object_type    Object empty name.
				 * @param string $object_subtype Object subtype name.
				 *                               Empty string if the object type does not support subtypes.
				 * @param int    $page           Page number of results.
				 */