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.
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.
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 :)