wpseek.com
A WordPress-centric search engine for devs and theme authors



get_current_theme › WordPress Function

Since1.5.0
Deprecated3.4.0
get_current_theme ( No parameters )
See:
Returns:
  • (string)
Defined at:
Codex:

Retrieve current theme name.



Source

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