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 EBOOK
Your step-by-step roadmap to a profitable web dev business. From landing more clients to scaling like crazy.

By downloading this ebook I consent to occasionally receive emails from WPMU DEV.
We keep your email 100% private and do not spam.

FREE EBOOK
Plan, build, and launch your next WP site without a hitch. Our checklist makes the process easy and repeatable.

By downloading this ebook I consent to occasionally receive emails from WPMU DEV.
We keep your email 100% private and do not spam.

Tags: