Skip to content

Instantly share code, notes, and snippets.

@mattneal-stafflink
Created January 20, 2021 01:03
Show Gist options
  • Save mattneal-stafflink/edc17cf691bf8bc832fe2b512be4d6dd to your computer and use it in GitHub Desktop.
Save mattneal-stafflink/edc17cf691bf8bc832fe2b512be4d6dd to your computer and use it in GitHub Desktop.
Disable Gutenberg Editor
//Disables the Gutenberg editor and brings back the WYSIWYG editor.
add_filter('use_block_editor_for_post', '__return_false', 10);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment