Warning: This function has been deprecated.

display_theme() WordPress Function

The display_theme() function is used to display a theme. A theme is a collection of files that control the look and feel of a WordPress site. Themes may be installed using the WordPress Admin Area, or they may be uploaded via FTP.

display_theme( object $theme ) #

Prints a theme on the Install Themes pages.


Parameters

$theme

(object)(Required)


Top ↑

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
VersionDescription
3.4.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.