my-plugin-manager icon indicating copy to clipboard operation
my-plugin-manager copied to clipboard

External zip file install feature

Open murshed opened this issue 5 years ago • 1 comments

It is possible to install the plugin from an external link?

            array(
                'name'                  => esc_html__( 'Contact Form 7', 'backer' ),
                'slug'                  => 'contact-form-7',
                'required'              => false,
                'version'               => '',
                'force_activation'      => false,
                'force_deactivation'    => false,
                'external_url'          => esc_url('https://downloads.wordpress.org/plugin/contact-form.zip'),
            ),

Must needed with this plugin.

murshed avatar Sep 30 '19 12:09 murshed

No unfortunately it doesn't. See second question here: http://mypluginmanager.com/faq

The url field is meant to be used as more of a "go to this other site to get the plugin installed" -- I purposely didn't want to mess with security implications of direct install links.

array(
	'name'    => 'Gravity Forms',
	'slug'    => 'gravityforms',
	'version' => '2.2+',
	'url'     => 'http://www.gravityforms.com', // Only for non wp.org plugins.
),

themeblvd avatar Jan 03 '20 18:01 themeblvd