WordPress at a glance
function is not described

get_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 theme data.

  • See: wp_get_theme()

No Hooks.

Return

Array/null. Null, if theme name does not exist. Theme data, if exists.

Usage

get_theme( $theme );
$theme(string) (required)
Theme name.

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

<?php
function get_theme( $theme ) {
	_deprecated_function( __FUNCTION__, '3.4.0', 'wp_get_theme( $stylesheet )' );

	$themes = get_themes();
	if ( is_array( $themes ) && array_key_exists( $theme, $themes ) )
		return $themes[ $theme ];
	return null;
}