Created
June 23, 2022 05:58
-
-
Save blogjunkie/07f8005a93b056dfac8d89c84c950d35 to your computer and use it in GitHub Desktop.
Restore Classic Widgets
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 // Don't copy this line | |
function example_theme_support() { | |
remove_theme_support( 'widgets-block-editor' ); | |
} | |
add_action( 'after_setup_theme', 'example_theme_support' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment