Definition:
function install_themes_upload($page = 1) {}
Parameters
- $page
Source code
function install_themes_upload($page = 1) { ?> <h4><?php _e('Install a theme in .zip format') ?></h4> <p class="install-help"><?php _e('If you have a theme in a .zip format, you may install it by uploading it here.') ?></p> <form method="post" enctype="multipart/form-data" action="<?php echo self_admin_url('update.php?action=upload-theme') ?>"> <?php wp_nonce_field( 'theme-upload') ?> <input type="file" name="themezip" /> <?php submit_button( __( 'Install Now' ), 'button', 'install-theme-submit', false ); ?> </form> <?php }
2061
No comments yet... Be the first to leave a reply!