Does not work with disabled rich editor
-
Disable TinyMCE rich editor with the following code:
add_filter( ‘user_can_richedit’, function($default){
global $post;
if ( ‘post’ == get_post_type( $post ) )
return false;
return $default;
});Now if you edit a post, the editor is not shown at all if your plugin is activated.
- The topic ‘Does not work with disabled rich editor’ is closed to new replies.