Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add functions to run on plugin install/uninstall/upgrade #5

Open
martinkrcho opened this issue Aug 19, 2020 · 1 comment
Open

Add functions to run on plugin install/uninstall/upgrade #5

martinkrcho opened this issue Aug 19, 2020 · 1 comment
Labels
Future Something to look at in a future update

Comments

@martinkrcho
Copy link
Contributor

It would be handy to have hooks in WP Activity Log that fire on plugin install/uninstall and during an upgrade procedure.

An extension could create a subclass of WSAL_Extension_Core and override couple of stub methods in order to do what it wants to do on the main plugin install/uninstall/upgrade.

We should discuss if this is enough. Does it make sense for the extension plugin to do anything without the main plugin?

@DannyWPWS DannyWPWS added the Future Something to look at in a future update label Aug 19, 2020
@DannyWPWS
Copy link
Contributor

As far as I see it, the extension should only do one thing if WSAL is not running, and thats to tell the user to activate/install it - though Robert may think of some cool thing we could do in addition :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Future Something to look at in a future update
Projects
None yet
Development

No branches or pull requests

2 participants