Skip to content

Instantly share code, notes, and snippets.

@ahaywood
Created March 5, 2019 03:31
Show Gist options
  • Save ahaywood/d84d7bb4ffe6b23985568f5a66ce4901 to your computer and use it in GitHub Desktop.
Save ahaywood/d84d7bb4ffe6b23985568f5a66ce4901 to your computer and use it in GitHub Desktop.
WP - Remove Gutenberg Editor
/**
* REMOVE GUTENBERG EDITOR
* Reference: https://kinsta.com/blog/disable-gutenberg-wordpress-editor/
*/
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