You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I'm looking for a callback to call when the required plugin is activated. No mention about something like this on the configuration.
I'm just looking for a way to set a custom option for the activated plugin.
Does already exist an hook that allows to do something like this?
Thanks!
The text was updated successfully, but these errors were encountered:
hi @SGr33n TGMPA does not offer any hooks for that but WP natively does offer a hook you can use activated_plugin.
Using that hook, you will need to check that the $plugin which was activated was one of your required plugins, but I believe it should be usable for what you intend to do.
Thanks @jrnl! not at all, that's because if the user already activated the required plugin before I activate the TGMPA plugin it doesn't do the call. I think that TGMPA already do this check, in order to display the warning... we just have to know if there is some sort of hook.
Hi,
I'm looking for a callback to call when the required plugin is activated. No mention about something like this on the configuration.
I'm just looking for a way to set a custom option for the activated plugin.
Does already exist an hook that allows to do something like this?
Thanks!
The text was updated successfully, but these errors were encountered: