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



wp_sitemaps_index_entry › WordPress过滤钩子

Since5.5.0
已弃用n/a
apply_filters( 'wp_sitemaps_index_entry', $sitemap_entry, $this->object_type, $type['name'], $page )
参数: (4)
  • (array) $sitemap_entry Sitemap entry for the post.
    Required: Yes
  • (string) $object_type Object empty name.
    Required: Yes
  • (string) $object_subtype Object subtype name. Empty string if the object type does not support subtypes.
    Required: Yes
  • (int) $page Page number of results.
    Required: Yes
定义在:
文档:

Filters the sitemap entry for the sitemap index.





源码

$sitemap_entry = apply_filters( 'wp_sitemaps_index_entry', $sitemap_entry, $this->object_type, $type['name'], $page );