$value) { if ($value['activated']) { $classes .= ' ' . $prefix . $key . ' '; } } return $classes; } /** * Get list of Admin Themes * * @since 2.0.0 * @return array */ public static function get_admin_themes() { return apply_filters( 'wu_admin_themes_compatibility', [ 'material-wp' => [ 'activated' => class_exists('MaterialWP'), ], 'pro-theme' => [ 'activated' => class_exists('PROTheme'), ], 'admin-2020' => [ 'activated' => function_exists('run_admin_2020'), ], 'clientside' => [ 'activated' => class_exists('Clientside'), ], 'wphave' => [ 'activated' => class_exists('wphave_admin'), ], 'waaspro' => [ 'activated' => class_exists('AdminUIPRO') || class_exists('AdminUIPROflat'), ], ] ); } }