WordPress at a glance
function is not described

get_current_theme() WP 1.5.0

Deprecated in 3.4.0. It is no longer supported and can be removed in future releases. Use wp_get_theme() instead.

Retrieve current theme name.

  • See: wp_get_theme()

No Hooks.

Return

String.

Usage

get_current_theme();

Code of get current theme: wp-includes/deprecated.php WP 5.2.2

<?php
function get_current_theme() {
	_deprecated_function( __FUNCTION__, '3.4.0', 'wp_get_theme()' );

	if ( $theme = get_option( 'current_theme' ) )
		return $theme;

	return wp_get_theme()->get('Name');
}