WP_Theme_Install_List_Table::theme_installer_single() – Prints the wrapper for the theme installer with a provided theme’s data.

You appear to be a bot. Output may be restricted

Description

Prints the wrapper for the theme installer with a provided theme's data.

Used to make the theme installer work for no-js.

Usage

WP_Theme_Install_List_Table::theme_installer_single( $theme );

Parameters

$theme
( stdClass ) required – A WordPress.org Theme API object.

Returns

void

Source

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

1 to 12 of 12
  public function theme_installer_single( $theme ) {
    ?>
		<div id="theme-installer" class="wp-full-overlay single-theme">
			<div class="wp-full-overlay-sidebar">
				<?php $this->WP_Theme_Install_List_Table::install_theme_info( $theme ); ?>
			</div>
			<div class="wp-full-overlay-main">
				<iframe src="<?php echo esc_url( $theme->preview_url ); ?>"></iframe>
			</div>
		</div>
		<?php
  }
 

 View on GitHub View on Trac