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.8.2

apply_filters('use_block_editor_for_post') is found 1 times:

  • /wp-includes/post.php line 8463
    8459
    8460
    8461
    8462
    8463
    8464
    8465
    8466
    8467
    8468
    8469
         *
         * @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: