WordPress at Your Fingertips
function is not described

install_theme_information() WP 2.8.0

Display theme information in dialog box form.

No Hooks.

Return

null. Nothing.

Usage

install_theme_information();

Notes

  • Global. WP_Theme_Install_List_Table. $wp_list_table

Changelog

Since 2.8.0 Introduced.

Code of install_theme_information() WP 5.8.2

function install_theme_information() {
	global $wp_list_table;

	$theme = themes_api( 'theme_information', array( 'slug' => wp_unslash( $_REQUEST['theme'] ) ) );

	if ( is_wp_error( $theme ) ) {
		wp_die( $theme );
	}

	iframe_header( __( 'Theme Installation' ) );
	if ( ! isset( $wp_list_table ) ) {
		$wp_list_table = _get_list_table( 'WP_Theme_Install_List_Table' );
	}
	$wp_list_table->theme_installer_single( $theme );
	iframe_footer();
	exit;
}