W3cubDocs

/WordPress

deactivate_sitewide_plugin( $plugin = false )

This function has been deprecated. Use deactivate_plugin() instead.

Deprecated functionality for deactivating a network-only plugin.

Description

See also

Source

File: wp-admin/includes/ms-deprecated.php

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

Changelog

Version Description
3.0.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/deactivate_sitewide_plugin