Remove Add Media Button WordPress Editor

add_filter( 'wp_editor_settings', function($settings) {
 $settings['media_buttons']=FALSE;
 return $settings;
});

Leave a Comment