Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-includes/post.php | apply_filters | 8116 | /** * 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. */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
bool | $use_block_editor | Whether the post can be edited or not. |
WP_Post | $post | The post being checked. |