How to Set the Default Editor to Visual or HTML in WordPress

How to Set the Default Editor to Visual or HTML in WordPress

Did you know that you can set the default editor in the WordPress post editor screen?

Select which one you want to be the default and simply add this to your theme’s functions.php file:

For Visual set as default:

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

For HTML set as default:

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

Free Video Why 100 is NOT a Perfect Google PageSpeed Score (*5 Min Watch) Learn how to use Google PageSpeed Insights to set realistic goals, improve site speed, and why aiming for a perfect 100 is the WRONG goal.
Tags: