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.


Nothing (null).


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

Code of display theme: wp-admin/includes/theme-install.php WP 5.2.2

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->single_row( $theme );