Skip to content

Instantly share code, notes, and snippets.

@kentbrew
Created October 1, 2012 15:46
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save kentbrew/3812604 to your computer and use it in GitHub Desktop.
Save kentbrew/3812604 to your computer and use it in GitHub Desktop.
How to turn off TinyMCE in Wordpress
In wordpress/wp-includes/class-wp-editor.php, look for the tinymce setting:
public static function parse_settings($editor_id, $settings) {
$set = wp_parse_args( $settings, array(
...
'tinymce' => true, // load TinyMCE, can be used to pass settings directly to TinyMCE using an array()
...
) );
Set it to false and you should be good to go.
@kentbrew
Copy link
Author

I'm reliably informed that this is a bad idea, because updates will overwrite it. Sorry about that, chief!

@makeonlineshop
Copy link

hello, is there a correct way to totally disable tnymce ? thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment