Description
Filters whether a post is able to be edited in the block editor.
Occurrences
Filename | Line Number |
---|---|
wp-includes/post.php | 8234 |
Parameters
Type | Name | Description |
---|---|---|
bool | $use_block_editor | Whether the post can be edited or not. |
WP_Post | $post | The post being checked. |
PHP Doc
/**
* Filters whether a post is able to be edited in the block editor.
*
* @since 5.0.0
*
* @param bool $use_block_editor Whether the post can be edited or not.
* @param WP_Post $post The post being checked.
*/