This page redirects to an external site: https://developer.wordpress.org/reference/functions/get_current_theme/
Retrieve the name of the current theme.
get_current_theme() is deprecated since version 3.4! Use wp_get_theme() instead
<code style="color: #000000"><span style="color: #0000BB"><?php get_current_theme</span><span style="color: #007700">() </span><span style="color: #0000BB">?></span></code>
None.
Get the name of the current theme.
<?php
$theme_name = get_current_theme();
echo $theme_name;
?>
Since: 1.5.0
get_current_theme() is located in wp-includes/deprecated.php.