How To Change the Default Editor

Are you looking for a way to change the default editor? This snippet changes the default editor to be either the Visual Editor or the Text Editor (HTML Editor).

Instructions:

Add one of the following snippets to your theme’s functions.php file or in a site-specific plugin.

    • This snippet makes the Visual Editor the default editor.

Tables can't be imported directly. Please insert an image of your table which can be found here.

1 2
    • This snippet makes the Text Editor (HTML Editor) the default editor.

Tables can't be imported directly. Please insert an image of your table which can be found here.

1 2

Note: If this is your first time adding code snippets in WordPress, then please refer to our guide on how to properly copy / paste code snippets in WordPress, so you don’t accidentally break your site.