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



view_mode_post_types ›

Since4.4.0
已弃用n/a
apply_filters( 'view_mode_post_types', $view_mode_post_types )
参数:
  • (string[]) $view_mode_post_types Array of post types that can change view modes. Default non-hierarchical post types with show_ui on.
    Required: Yes
定义在:
文档:

Filters the post types that have different view mode options.





源码

$view_mode_post_types = apply_filters( 'view_mode_post_types', $view_mode_post_types );