view_mode_post_types

Advertisement

Summery Summery

Filters the post types that have different view mode options.

Syntax Syntax

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

Parameters Parameters

$view_mode_post_types

Array of post types that can change view modes. Default post types with show_ui on.

Source Source

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

Advertisement

Changelog Changelog

Changelog
Version Description
4.4.0 Introduced.

Advertisement

Leave a Reply