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



wp_sitemaps_post_types › WordPress过滤钩子

Since5.5.0
已弃用n/a
apply_filters( 'wp_sitemaps_post_types', $post_types )
参数:
  • (WP_Post_Type[]) $post_types Array of registered post type objects keyed by their name.
    Required: Yes
定义在:
文档:

Filters the list of post object sub types available within the sitemap.





源码

return apply_filters( 'wp_sitemaps_post_types', $post_types );