Action / Hook when a new plugin is added


Is there an action hook when a new plugin is installed?

I want to hook into the moment when a new plugin was put into the /wp-content/plugins folder. So really just adding the plugin (either via upload or via installation through the admin interface to pick plugins for installation).

Please note I am not referring to the activation of a plugin (activated_plugin does that trick).

hbit 2 years 2022-01-10T17:30:49-05:00 0 Answers 0 views 0

Leave an answer