use_block_editor_for_post

use_block_editor_for_post

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.7.1

apply_filters('use_block_editor_for_post') is found 1 times:

  • /wp-includes/post.php line 8406
    	 *
    	 * @param bool    $use_block_editor Whether the post can be edited or not.
    	 * @param WP_Post $post             The post being checked.
    	 */
    	return apply_filters( 'use_block_editor_for_post', $use_block_editor, $post );
    }
    
    /**
     * Returns whether a post type is compatible with the block editor.
     *
     * The block editor depends on the REST API, and if the post type is not shown in the
    

See this hook used in plugins: