Switch language

wpseek.com
A WordPress-centric search engine for devs and theme authors




install_plugins_upload [ WordPress Function ]

install_plugins_upload ( $page = 1 )
Parameters:
  • (string) $page
Defined at:



Upload from zip

Source


<?php
function install_plugins_upload$page ) {
?>
    <h4><?php _e('Install a plugin in .zip format'?></h4>
    <p class="install-help"><?php _e('If you have a plugin 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-plugin'?>">
        <?php wp_nonce_field'plugin-upload'?>
        <label class="screen-reader-text" for="pluginzip"><?php _e('Plugin zip file'); ?></label>
        <input type="file" id="pluginzip" name="pluginzip" />
        <input type="submit" class="button" value="<?php esc_attr_e('Install Now'?>" />
    </form>
<?php
}
?>

Examples [ wp-snippets.com ]

Top Google zoekresultaten

Meer ...

Gebruikersdiscussies [ wordpress.org ]

0 User Note(s)

Nog geen één. Wees de eerste!

Nieuw toevoegen ...



HTML5 Powered with CSS3 / Styling, Performance & Integration, and Semantics