apply_filters( 'use_block_editor_for_post_type', bool $use_block_editor, string $post_type )

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

Parameters Parameters


(bool) Whether the post type can be edited or not. Default true.


(string) The post type being checked.

Top ↑

Source Source

File: wp-admin/includes/post.php

View on Trac

Top ↑

Changelog Changelog

Version Description
5.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.