WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about use_block_editor_for_post_type

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/post.php apply_filters 8153 /**
* 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 type can be edited or not. Default true.
* @param string $post_type The post type being checked.
*/

Hook Parameters

Parameter Type Name Description
bool $use_block_editor Whether the post type can be edited or not. Default true.
string $post_type The post type being checked.