Is there some way to run a function when another plugin is being installed and/or activated?
Basically I need something like register_activation_hook
only for other plugins.
The use case:
I want to check for CVE patches on my own server when a plugin is installed / activated.
The only thing I can think of right now is manually keeping track of activated and installed plugins, but this is not a very clean solution.