Question about TGM Plugin Activation


#1

Hello everyone.
I am developing a wordpress theme and I have a simple question about TGM Plugin Activation.
Is it allowed for the plugins to be set to ‘force_activation’ => true ?
As I don’t want users to go trough the process of activation each plugin.
Thanks.


#2

Hi,

It’s not allowed. But, you can set “required - true” to generate warning message that the plugin is need to be activated for your theme to work properly.


#3

It’s never a good idea to “force” users into using a plugin. If there is something absolutely required for the theme to function it should be built into the theme. In this case, as @AthenaStudio mentioned it’s probably best to simply recommend the plugin.