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