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' );

發表回覆

您的郵箱地址不會被公開。 必填項已用 * 標註