Warning: This function has been deprecated. Use activate_plugin() instead.
activate_sitewide_plugin() WordPress Function
The activate_sitewide_plugin() function is used to activate a plugin for all sites in a multisite installation. This function takes a plugin path and a network_wide boolean as arguments. If the network_wide boolean is set to true, the plugin will be activated for all sites on the network. If set to false, the plugin will only be activated for the current site.
activate_sitewide_plugin() #
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; }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |