OK, this may be a dumb question. Is it possible, using PHP, to detect which theme has been set for use by Wordpress ? If so, how's it done ?
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It only takes a minute to sign up.Sign up to join this community
If you only need the current theme name, you can use get_current_theme().
This snippet will get the current theme info for you.
$theme_data = wp_get_theme(); echo $theme_data->Name;
wp_get_theme for more information.