Created
June 1, 2019 19:36
-
-
Save adanzilla/6e0b04eff7cd6ba90808afd7c78fe6c7 to your computer and use it in GitHub Desktop.
Disables Gutenberg on Wordpress
This file contains hidden or 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 for posts | |
add_filter('use_block_editor_for_post', '__return_false', 10); | |
// disable for post types | |
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