Created
June 3, 2019 15:18
-
-
Save nfsarmento/cba61b971267d333b5334a7c435f6e2b to your computer and use it in GitHub Desktop.
Disable 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
//Disable Gutenberg | |
add_filter( 'use_block_editor_for_post', '__return_false' ); | |
remove_action( 'try_gutenberg_panel', 'wp_try_gutenberg_panel' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment