use_block_editor_for_post
use_block_editor_for_post ( $post )
Parameters:- (int|WP_Post) post Post ID or WP_Post object.
Returns:- (bool) Whether the post can be edited in the block editor.
Defined at:Change Log: - Introduced in WordPress: 5.0.0
- Deprecated in WordPress: —
Description
Returns whether the post can be edited in the block editor.