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.
Hey, I'm using TGMPA to show plugin activation notifications for my themes. But I have the following issue. I have required und recommended plugins. I can't find a possibility to distinguish between required and recommended notifications.
If there are two required plugins (Notification 'dismissable' => false / 'required' => true). But I have a recommended plugin too. E.g. the plugin WooCommerce is recommended, but if the user don't want to add a shop, he can't dismiss the notfication to activate the WooCommerce plugin :-(
If I activate the 'dismissable' => true / 'required' => false. No user get a notification about the required plugins, because the notification is gone forever :-(
Hey, I'm using TGMPA to show plugin activation notifications for my themes. But I have the following issue. I have required und recommended plugins. I can't find a possibility to distinguish between required and recommended notifications.
If there are two required plugins (Notification 'dismissable' => false / 'required' => true). But I have a recommended plugin too. E.g. the plugin WooCommerce is recommended, but if the user don't want to add a shop, he can't dismiss the notfication to activate the WooCommerce plugin :-(
If I activate the 'dismissable' => true / 'required' => false. No user get a notification about the required plugins, because the notification is gone forever :-(
Is there a way to fix this?
248