wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes
install_theme_information › WordPress Function
Depuis2.8.0
Dépréciéen/a
› install_theme_information ( Pas de paramètres )
| Retourne: |
|
| Défini(e) dans: |
|
| Codex: |
Displays theme information in dialog box form.
Fonctions en relation: install_plugin_information, install_theme_search_form, install_themes_upload, install_themes_feature_list, install_themes_dashboard
Source
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;
}