display_theme() – Prints a theme on the Install Themes pages.

You appear to be a bot. Output may be restricted

Description

Prints a theme on the Install Themes pages.

Usage

display_theme( $theme );

Parameters

$theme
( object ) required

Returns

void

Source

File name: wordpress/wp-admin/includes/theme-install.php
Lines:

1 to 9 of 9
function display_theme( $theme ) {
  _deprecated_function( display_theme, '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 );
}
 

 View on GitHub View on Trac