Last active
July 29, 2021 04:25
Star
You must be signed in to star a gist
Disable Gutenberg block editor in widgets after update to WordPress 5.8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Disables the block editor from managing widgets in the Gutenberg plugin. | |
add_filter( 'gutenberg_use_widgets_block_editor', '__return_false', 100 ); | |
// Disables the block editor from managing widgets. renamed from wp_use_widgets_block_editor | |
add_filter( 'use_widgets_block_editor', '__return_false' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment