W3cubDocs

/WordPress

apply_filters( 'wp_sitemaps_posts_show_on_front_entry', array $sitemap_entry )

Filters the sitemap entry for the home page when the ‘show_on_front’ option equals ‘posts’.

Parameters

$sitemap_entry

(array) Sitemap entry for the home page.

Source

File: wp-includes/sitemaps/providers/class-wp-sitemaps-posts.php

View on Trac

Changelog

Version Description
5.5.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_sitemaps_posts_show_on_front_entry