Remove distraction free mode from teeny editor

I’m trying to remove the distraction free mode button from the editor, but i can’t make it disapear.

Here is the code im using:

add_filter( ‘wp_editor_settings’, function($settings) {
$settings[‘teeny’]=true;
$settings[‘media_buttons’]=false;
$settings[‘quicktags’] = false;
$settings[‘dfw’] = false;
return $settings;
});

Is there something i’m missing? Because this works on the regular editor.

Thanks!

Read more here:: Remove distraction free mode from teeny editor

Leave a Reply

Your email address will not be published. Required fields are marked *