src/View/SSViewer.php
public static function add_themes($themes = [])
    {
        $currentThemes = SSViewer::get_themes();
        $finalThemes = array_merge($themes, $currentThemes);
        // array_values is used to ensure sequential array keys as array_unique can leave gaps
        static::set_themes(array_values(array_unique($finalThemes)));
    }
public static function add_themes($themes = [])
    {
        $currentThemes = SSViewer::get_themes();
        $finalThemes = array_merge($themes, $currentThemes);
        // array_values is used to ensure sequential array keys as array_unique can leave gaps
        static::set_themes(array_values(array_unique($finalThemes)));
    }
public static function add_themes ( $ themes = [ ] ) { $ currentThemes = SSViewer :: get_themes ( ) ; $ finalThemes = array_merge ( $ themes , $ currentThemes ) ; // array_values is used to ensure sequential array keys as array_unique can leave gaps static :: set_themes ( array_values ( array_unique ( $ finalThemes ) ) ) ; }
Add to the list of active themes to apply

@param array $themes
Add to the list of active themes to apply