TGMPA / TGM-Plugin-Activation

TGM Plugin Activation is a PHP library that allows you to easily require or recommend plugins for your WordPress themes (and plugins). It allows your users to install, update and even automatically activate plugins in singular or bulk fashion using native WordPress classes, functions and interfaces. You can reference bundled plugins, plugins from the WordPress Plugin Repository or even plugins hosted elsewhere on the internet.
http://tgmpluginactivation.com/
GNU General Public License v2.0
1.76k stars 429 forks source link

force_installation ! #661

Closed mohamad-elmi closed 7 years ago

mohamad-elmi commented 7 years ago

Hi There,

As it is described in 'force_activation' field when theme is activated the mentioned plugin gets active but if plugin is not installed so it won’t get activated! I mean I am looking for a field like 'force_installation' in tgm to install and activate the plugin.

Is there any way in this regard? If no, would you please explain which part of your code handles the installation so I can get my desired state.

Thank you so much for your awesome plugin 👍

jrfnl commented 7 years ago

Closing as duplicate of #242, #279, #493

Installing a plugin should always be the decision of the site admin, not you. Also see: https://github.com/TGMPA/TGM-Plugin-Activation/issues/279#issuecomment-96334075 https://github.com/TGMPA/TGM-Plugin-Activation/issues/493#issuecomment-155383750