How to loop over wp_get_themes() and create an array of themes name
Correct the wp_get_themes() function has most of the information inaccessible to the public which requires you to pull the info out using the $theme->get( ‘Name’ ); format. You can build a simple array like so. // Build new empty Array to store the themes $themes = array(); // Loads theme data $all_themes = wp_get_themes(); // … Read more