WordPress Tiny MCE change default selected editor

How can I select the default editor to be shown between the HTML and the Visual editors?

Currently the Visual editor is always selected by default and I want that the HTML editor is selected when the page loads instead.

Related posts

Leave a Reply

1 comment

  1. This sould do it. Add this line in your themes functions.php. Replace "html" with "tinymce" if you like to switch back.

    add_filter( 'wp_default_editor', create_function('', 'return "html";') );