Warning: This function has been deprecated.

display_theme( object $theme )

Prints a theme on the Install Themes pages.


Description Description


Parameters Parameters

$theme

(object) (Required)


Top ↑

Source Source

File: wp-admin/includes/theme-install.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 );
}

Top ↑

Changelog Changelog

Changelog
Version Description
3.4.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.