WordPress at a glance
function is not described

deactivate_sitewide_plugin() WP 1.0

Deprecated in 3.0.0. It is no longer supported and can be removed in future releases. Use deactivate_plugin() instead.

Deprecated functionality for deactivating a network-only plugin.

  • See: deactivate_plugin()

No Hooks.


Nothing (null).


deactivate_sitewide_plugin( $plugin );

Code of deactivate sitewide plugin: wp-admin/includes/ms-deprecated.php WP 5.2.2

function deactivate_sitewide_plugin( $plugin = false ) {
	_deprecated_function( __FUNCTION__, '3.0.0', 'deactivate_plugin()' );