install_theme_information

Display theme information in dialog box form.

Description

install_theme_information(); 

Usage

  1. if ( !function_exists( 'install_theme_information' ) ) { 
  2. require_once ABSPATH . '/wp-admin/includes/theme-install.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = install_theme_information(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/wp-admin/includes/theme-install.php  
  1. function install_theme_information() { 
  2. global $wp_list_table; 
  3.  
  4. $theme = themes_api( 'theme_information', array( 'slug' => wp_unslash( $_REQUEST['theme'] ) ) ); 
  5.  
  6. if ( is_wp_error( $theme ) ) 
  7. wp_die( $theme ); 
  8.  
  9. iframe_header( __('Theme Install') ); 
  10. if ( ! isset( $wp_list_table ) ) { 
  11. $wp_list_table->theme_installer_single( $theme ); 
  12. exit;