wpseek.com
A WordPress-centric search engine for devs and theme authors



display_theme › WordPress Function

Sincen/a
Deprecated3.4.0
display_theme ( $theme )
Parameters:
  • (object) $theme
    Required: Yes
Defined at:
Codex:

Prints a theme on the Install Themes pages.



Source

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 );
}