WordPress at a glance
function is not described

display_theme() WP 1.0

Deprecated in 3.4.0. It is no longer supported and can be removed in future releases. It is recommended to replace this function with the same one.

Prints a theme on the Install Themes pages.

  • Global. WP_Theme_Install_List_Table. $wp_list_table

No Hooks.

Return

Nothing (null).

Usage

display_theme( $theme );
$theme(object) (required)

Code of display theme: wp-admin/includes/theme-install.php VER 5.1.1

<?php
function display_theme( $theme ) {
	_deprecated_function( __FUNCTION__, '3.4.0' );
	global $wp_list_table;
	if ( ! isset( $wp_list_table ) ) {
		$wp_list_table = _get_list_table( 'WP_Theme_Install_List_Table' );
	}
	$wp_list_table->prepare_items();
	$wp_list_table->single_row( $theme );
}