WordPress at Your Fingertips
function is not described

display_theme() WP 1.0

Deprecated from version 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.

No Hooks.

Return

null. Nothing.

Usage

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

Notes

  • Global. WP_Theme_Install_List_Table. $wp_list_table

Changelog

Deprecated 3.4.0

Code of display_theme() WP 5.8.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->prepare_items();
	$wp_list_table->single_row( $theme );
}