WordPress at Your Fingertips
function is not described

deactivate_sitewide_plugin() WP 1.0

Deprecated from version 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.

No Hooks.

Return

null. Nothing.

Usage

deactivate_sitewide_plugin( $plugin );
$plugin **
-
Default: false

Notes

  • See: deactivate_plugin()

Changelog

Deprecated Since 3.0.0 Use deactivate_plugin()

Code of deactivate_sitewide_plugin() WP 5.8.2

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