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 ?
Thanks.
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 ?
Thanks.
You must be logged in to post a comment.
If you only need the current theme name, you can use get_current_theme().
This snippet will get the current theme info for you.
See
wp_get_theme
for more information.