deactivate_plugin

deactivate_plugin

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.7.1

do_action('deactivate_plugin') is found 1 times:

  • /wp-admin/includes/plugin.php line 826
    			 *
    			 * @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( "deactivate_{$plugin}", $network_deactivating );
    
    			/**
    			 * Fires after a plugin is deactivated.
    			 *
    			 * If a plugin is silently deactivated (such as during an update),
    			 * this hook does not fire.
    

See this hook used in plugins: