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:
  • 6: .

Description

Returns whether the post can be edited in the block editor.

Related Functions

use_block_editor_for_post_type, user_can_edit_post, _disable_block_editor_for_navigation_post_type, get_block_editor_settings, get_block_editor_theme_styles

Top Google Results

User discussions

wpseek mobile