Filters whether a post is able to be edited in the block editor.
$use_block_editorbool
$postWP_Post
return apply_filters( 'use_block_editor_for_post', $use_block_editor, $post );
| Version | Description |
|---|---|
| 5.0.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/use_block_editor_for_post