deactivate_plugin, $plugin, $network_deactivating
deactivate_plugin, $plugin, $network_deactivating
Appears in: 7.0.3
Hook Type: action
Displaying hooks found in version: 7.0.3do_action('deactivate_plugin, $plugin, $network_deactivating') is found 1 times:
- /wp-admin/includes/plugin.php line 787
* @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( 'deactivate_plugin', $plugin, $network_deactivating ); } if ( false !== $network_wide ) { if ( is_plugin_active_for_network( $plugin ) ) { $do_network = true; unset( $network_current[ $plugin ] );