use_block_editor_for_post_type

use_block_editor_for_post_type

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

See hook in core

Displaying hooks found in version: wordpress-6.4.3

apply_filters('use_block_editor_for_post_type') is found 1 times:

  • /wp-includes/post.php line 8124
    	 *
    	 * @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.
    	 */
    	return apply_filters( 'use_block_editor_for_post_type', true, $post_type );
    }
    
    /**
     * Registers any additional post meta fields.
     *
     * @since 6.3.0 Adds `wp_pattern_sync_status` meta field to the wp_block post type so an unsynced option can be added.
    

See this hook used in plugins: