apply_filters( ‘view_mode_post_types’, string[] $view_mode_post_types )

In this article

Filters the post types that have different view mode options.

Parameters

$view_mode_post_typesstring[]
Array of post types that can change view modes.
Default post types with show_ui on.

Source

$view_mode_post_types = apply_filters( 'view_mode_post_types', $view_mode_post_types );

Changelog

VersionDescription
4.4.0Introduced.

User Contributed Notes

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