W3cubDocs

/WordPress

activate_sitewide_plugin()

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

Deprecated functionality for activating a network-only plugin.

Description

See also

Source

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

function activate_sitewide_plugin() {
	_deprecated_function( __FUNCTION__, '3.0.0', 'activate_plugin()' );
	return false;
}

Changelog

Version Description
3.0.0 Introduced.

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