Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-admin/includes/class-wp-posts-list-table.php | apply_filters | 513 | /** * Filters whether to remove the 'Formats' drop-down from the post list table. * * @since 5.2.0 * @since 5.5.0 The `$post_type` parameter was added. * * @param bool $disable Whether to disable the drop-down. Default false. * @param string $post_type Post type slug. */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
bool | $disable | Whether to disable the drop-down. Default false. |
string | $post_type | Post type slug. |