WP_Theme_Install_List_Table::theme_installer_single( object $theme )
Prints the wrapper for the theme installer with a provided theme’s data.
Description
Used to make the theme installer work for no-js.
Parameters
- $theme
-
(object) (Required) - A WordPress.org Theme API object.
Source
File: wp-admin/includes/class-wp-theme-install-list-table.php
public function theme_installer_single( $theme ) { ?> <div id="theme-installer" class="wp-full-overlay single-theme"> <div class="wp-full-overlay-sidebar"> <?php $this->install_theme_info( $theme ); ?> </div> <div class="wp-full-overlay-main"> <iframe src="<?php echo esc_url( $theme->preview_url ); ?>"></iframe> </div> </div> <?php }
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_theme_install_list_table/theme_installer_single