Last active
January 16, 2020 12:03
-
-
Save DevWael/d4d23c9188942f5dab2a736fb9d3e334 to your computer and use it in GitHub Desktop.
Disable New WP Editor (Gutenberg)
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 | |
//Put the following snippet in functions.php | |
//disable gutenberg editor | |
add_filter( 'use_block_editor_for_post', '__return_false', 10 ); | |
add_filter( 'use_block_editor_for_page', '__return_false', 10 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment