apply_filters( 'dt_use_block_editor_for_post_type', $use_block_editor, $post_type ) → {bool}
Filters whether an item is able to be edited in the block editor.
Parameters:
Name | Type | Description |
---|---|---|
$use_block_editor |
bool | Whether the post type uses the block editor. Default true. |
$post_type |
string | The post type being checked. |
- Since:
- 1.6.9
- Source:
Returns:
Whether the post type uses the block editor.
- Type
- bool