Supprimer Add Media Button WordPress Editor

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