Set default editor ‘wp_default_editor’

WordPresstutorial – This snippet changes the default editor in WordPress admin. Choose between these two options to place within your functions.php to set your default editor in the wordpress admin.Add this to functions.php:

 

 

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

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

Be Sociable, Share!

Leave a comment