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 (null).

Usage

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

Notes

  • Global. WP_Theme_Install_List_Table. $wp_list_table

Changelog

Deprecated since 3.4.0

display_theme() code WP 6.5.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 );
}