apply_filters( 'view_mode_post_types', string[] $view_mode_post_types )

Filters the post types that have different view mode options.


Description Description


Parameters Parameters

$view_mode_post_types

(string[]) Array of post types that can change view modes. Default non-hierarchical post types with show_ui on.


Top ↑

Source Source

File: wp-admin/includes/class-wp-screen.php

View on Trac


Top ↑

Changelog Changelog

Changelog
Version Description
4.4.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.