wpseek.com
A WordPress-centric search engine for devs and theme authors
deactivate_plugin › WordPress Action Hooks
Since2.9.0
Deprecatedn/a
› do_action( 'deactivate_plugin', $plugin, $network_deactivating )
Parameters: (2) |
|
Defined at: |
|
Codex: |
Fires before a plugin is deactivated.
If a plugin is silently deactivated (such as during an update), this hook does not fire.
Related Functions: deactivate_plugins, activate_plugin, activate_plugins, deactivate_sitewide_plugin, deactivated_plugins_notice, validate_active_plugins