We can retrieve list of themes with theme data by using wp_get_themes() function.
This function will return the data in array. Please check the sample code below.

$themes = wp_get_themes();

If you have any doubt, Please comment here.

Leave a Reply

Your email address will not be published. Required fields are marked *