WordPress at a glance
action is not described

deactivated_plugin action-hook . WP 2.9.0

Fires after a plugin is deactivated.

If a plugin is silently deactivated (such as during an update), this hook does not fire.


add_action( 'deactivated_plugin', 'action_function_name_5820', 10, 2 );
function action_function_name_5820( $plugin, $network_deactivating ){
	// action...
Path to the plugin file relative to the plugins directory.
Whether the plugin is deactivated for all sites in the network. or just the current site. Multisite only.
Default: false


Since 2.9.0 Introduced.

Where the hook is called

wp-admin/includes/plugin.php 806
do_action( 'deactivated_plugin', $plugin, $network_deactivating );

Where the hook is used (in WP core)

Usage not found!