Skip to main content

Filter: dt_use_block_editor_for_post_type

Filters whether an item is able to be edited in the block editor.

Parameters​

NameTypeDescription
$use_block_editorboolWhether the post type uses the block editor. Default true.
$post_typestringThe post type being checked.

Since​

  • 1.6.9

Source​

Defined in includes/utils.php at line 1673

Returns​

Whether the post type uses the block editor.

Ready to Get Started?

Distributor is a WordPress plugin that makes it easy to syndicate and reuse content across your websites — whether in a single multisite or across the web.