WordPress at a glance
function is not described

get_current_theme() WP 1.5.0

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

Retrieve current theme name.

No Hooks.

Return

String. Null. Nothing.

Usage

get_current_theme();

Notes

  • See: wp_get_theme()

Changelog

Since 1.5.0 Introduced.
Deprecated Since 3.4.0 Use wp_get_theme()

Code of get_current_theme() WP 5.7

<?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');
}