function install_plugins_upload( $page = 1 ) {}

Upload from zip


  • string $page

Source code

function install_plugins_upload( $page = 1 ) {


	<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') ?>" />





No comments yet... Be the first to leave a reply!

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: