Used By
Used By | Description |
---|---|
wp-admin/includes/class-wp-posts-list-table.php: WP_Posts_List_Table::formats_dropdown() | Displays a formats drop-down for filtering items. |
Filters whether to remove the ‘Formats’ drop-down from the post list table.
(bool) Whether to disable the drop-down. Default false.
(string) Post type slug.
Version | Description |
---|---|
5.5.0 | The $post_type parameter was added. |
5.2.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/disable_formats_dropdown