WordPress at a glance
filter is not described

view_mode_post_types filter-hook . WP 4.4.0

Filters the post types that have different view mode options.


add_filter( 'view_mode_post_types', 'filter_function_name_2074' );
function filter_function_name_2074( $view_mode_post_types ){
	// filter...

	return $view_mode_post_types;
Array of post types that can change view modes.
Default: non-hierarchical post types with show_ui on

Where the hook is called

wp-admin/includes/class-wp-screen.php 1270
$view_mode_post_types = apply_filters( 'view_mode_post_types', $view_mode_post_types );

Where the hook is used (in WP core)

Использование не найдено.