Created
November 6, 2022 15:42
-
-
Save AndreFCAmorim/39d8a16afff22ac8b3cb97c60479150b to your computer and use it in GitHub Desktop.
Disable Widget Blocks on WordPress
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
<?php | |
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