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



wp_sitemaps_posts_show_on_front_entry › WordPress Filter Hooks

Since5.5.0
Deprecatedn/a
apply_filters( 'wp_sitemaps_posts_show_on_front_entry', $sitemap_entry )
Parameters:
  • (array) $sitemap_entry Sitemap entry for the home page.
    Required: Yes
Defined at:
Codex:

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





Source

$sitemap_entry = apply_filters( 'wp_sitemaps_posts_show_on_front_entry', $sitemap_entry );