wpseek.com
WordPress开发者和主题制作者的搜索引擎



wp_sitemaps_posts_show_on_front_entry › WordPress过滤钩子

Since5.5.0
已弃用n/a
apply_filters( 'wp_sitemaps_posts_show_on_front_entry', $sitemap_entry )
参数:
  • (array) $sitemap_entry Sitemap entry for the home page.
    Required: Yes
定义在:
文档:

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





源码

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