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_3236' );
function filter_function_name_3236( $view_mode_post_types ){
	// filter...

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

Changelog

Since 4.4.0 Introduced.

Where the hook is called

WP_Screen::render_view_mode()
view_mode_post_types
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)

Usage not found!