Filter hook 'use_block_editor_for_post_type'

in WP Core File wp-includes/post.php at line 8271

Description

Filters whether a post is able to be edited in the block editor.

Occurrences

Filename Line Number
wp-includes/post.php 8271

Parameters

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.

PHP Doc

/**
	 * 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.
	 */