use_block_editor_for_post( ... )

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

Parameters:
  • $post int | WP_Post