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.

Usage

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

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

Where the hook is called

WP_Screen::render_view_mode()
wp-admin/includes/class-wp-screen.php 1232
$view_mode_post_types = apply_filters( 'view_mode_post_types', $view_mode_post_types );

Where the hook is used (in WP core)

Does not used.