deactivated_plugin, $plugin, $network_deactivating

deactivated_plugin, $plugin, $network_deactivating

Appears in:
Hook Type: action

See hook in core

Displaying hooks found in version: 7.0.3

do_action('deactivated_plugin, $plugin, $network_deactivating') is found 1 times:

  • /wp-admin/includes/plugin.php line 840
    			 * @param string $plugin               Path to the plugin file relative to the plugins directory.
    			 * @param bool   $network_deactivating Whether the plugin is deactivated for all sites in the network
    			 *                                     or just the current site. Multisite only. Default false.
    			 */
    			do_action( 'deactivated_plugin', $plugin, $network_deactivating );
    		}
    	}
    
    	if ( $do_blog ) {
    		update_option( 'active_plugins', $current );
    	}