apply_filters( 'view_mode_post_types', array $view_mode_post_types )
Filters the post types that have different view mode options.
Parameters
- $view_mode_post_types
-
(array) Array of post types that can change view modes. Default non-hierarchical post types with show_ui on.
Source
Changelog
Version | Description |
---|---|
WP-4.4.0 | Introduced. |