Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Enable plugin for specific applications via dashboard
Hi there,
I've been looking for a way (without any luck) of having a system in one of my plugins that allows the admin to enable it for some applications.
For example i have a plugin and I have 6 applications in my applications folder. I want to have in the dashboard settings a list with all the 6 applications which can be selected/deselected, in turn enabling or disabling the default load of the plugin in that application.
So far, I didn't manage to find any way by which one can dynamically add/remove a plugin to a application and I wanted to ask to see if any1 knows. Also, if there is a function that prints out all application that would be nice as well (currently I manually scan for them in the folder)
Thanks,
Stefan
I've been looking for a way (without any luck) of having a system in one of my plugins that allows the admin to enable it for some applications.
For example i have a plugin and I have 6 applications in my applications folder. I want to have in the dashboard settings a list with all the 6 applications which can be selected/deselected, in turn enabling or disabling the default load of the plugin in that application.
So far, I didn't manage to find any way by which one can dynamically add/remove a plugin to a application and I wanted to ask to see if any1 knows. Also, if there is a function that prints out all application that would be nice as well (currently I manually scan for them in the folder)
Thanks,
Stefan
Tagged:
2
Comments
Use 'AfterEnabledApplication' event in plugin.