Open posts in editor in the ‘Text’ mode by default

Add the following line to your theme’s functions.php:

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

Use “html” to set the Text editor tab as default (as shown above), or “tinymce” to set the Visual editor tab as default.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)