WordPress at a glance
filter is not described

use_block_editor_for_post_type filter-hook . WP 5.0.0

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


add_filter( 'use_block_editor_for_post_type', 'filter_function_name_73', 10, 2 );
function filter_function_name_73( $use_block_editor, $post_type ){
	// filter...

	return $use_block_editor;
Whether the post type can be edited or not.
Default: true
The post type being checked.

Where the hook is called

wp-admin/includes/post.php 2120
return apply_filters( 'use_block_editor_for_post_type', true, $post_type );

Where the hook is used (in WP core)

Использование не найдено.