Disable the Block Editor in Widgets

Disable the Block Editor in Widgets

Starting in WordPress 5.8, the block editor is enabled by default in widgets.

If you would like to disable it, please add the following PHP snippet:

add_filter( 'use_widgets_block_editor', '__return_false' );

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注