Skip to main content
1 of 3
fuxia
  • 107.1k
  • 38
  • 255
  • 459

You can hook into the action 'deactivate_plugin' to get the plugin's base name and (as second parameter) if it was deactivated network wide.

See wp-admin/includes/plugin.php function deactivate_plugins().

There seems to be no hook for plugin deletion.

fuxia
  • 107.1k
  • 38
  • 255
  • 459