WP_Theme_Install_List_Table::theme_installer() WordPress Method
The WP_Theme_Install_List_Table::theme_installer() method is used to install a theme. It takes the theme slug as an input parameter and installs the theme.
WP_Theme_Install_List_Table::theme_installer() #
Prints the wrapper for the theme installer.
Source
File: wp-admin/includes/class-wp-theme-install-list-table.php
public function theme_installer() { ?> <div id="theme-installer" class="wp-full-overlay expanded"> <div class="wp-full-overlay-sidebar"> <div class="wp-full-overlay-header"> <a href="#" class="close-full-overlay button"><?php _e( 'Close' ); ?></a> <span class="theme-install"></span> </div> <div class="wp-full-overlay-sidebar-content"> <div class="install-theme-info"></div> </div> <div class="wp-full-overlay-footer"> <button type="button" class="collapse-sidebar button" aria-expanded="true" aria-label="<?php esc_attr_e( 'Collapse Sidebar' ); ?>"> <span class="collapse-sidebar-arrow"></span> <span class="collapse-sidebar-label"><?php _e( 'Collapse' ); ?></span> </button> </div> </div> <div class="wp-full-overlay-main"></div> </div> <?php }
Expand full source codeCollapse full source codeView on TracView on GitHub