Last active
December 14, 2018 14:35
-
-
Save paulgibbs/6d6309e0ea586d955e0b7b5573d5a642 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
<?php | |
/** | |
* Plugin Name: Disable Gutenberg | |
*/ | |
add_filter('use_block_editor_for_post', '__return_false'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I needed a way to turn off Gutenberg for a side project's CI runs, and all the easy-to-download plugins were needlessly complex ^
This can be installed via wp-cli