disable_formats_dropdown
最后更新于:2021-11-26 07:45:20
apply_filters( ‘disable_formats_dropdown’, bool $disable, string $post_type )
Filters whether to remove the ‘Formats’ drop-down from the post list table.
参数
- $disable
-
(bool)
Whether to disable the drop-down. Default false. - $post_type
-
(string)
Post type slug.
源文件
文件: gc-admin/includes/class-gc-posts-list-table.php