Sindbad~EG File Manager

Current Path : /home/j/u/l/julesbu/www/dup-installer/wp-content/mu-plugins/
Upload File :
Current File : /home/j/u/l/julesbu/www/dup-installer/wp-content/mu-plugins/disable-twenty-themes.php

<?php
/**
 * Plugin Name: Disable Twenty Themes Installation
 * Description: Empêche WordPress d’installer automatiquement les thèmes "Twenty".
 */

add_filter('core_update_get_available_themes', function ($themes) {
    foreach ($themes as $slug => $theme) {
        if (strpos($slug, 'twenty') === 0) {
            unset($themes[$slug]);
        }
    }
    return $themes;
});

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists