On this page
is_wpmu_sitewide_plugin( $file )
This function has been deprecated. Use is_network_only_plugin() instead.
Deprecated functionality for determining if the current plugin is network-only.
Description
See also
Source
File: wp-admin/includes/ms-deprecated.php. View all references
function is_wpmu_sitewide_plugin( $file ) {
_deprecated_function( __FUNCTION__, '3.0.0', 'is_network_only_plugin()' );
return is_network_only_plugin( $file );
}
Related
Uses
| Uses | Description |
|---|---|
| is_network_only_plugin() wp-admin/includes/plugin.php | Checks for “Network: true” in the plugin header to see if this should be activated only as a network wide plugin. The plugin would also work when Multisite is not enabled. |
| _deprecated_function() wp-includes/functions.php | Marks a function as deprecated and inform when it has been used. |
Changelog
| Version | Description |
|---|---|
| 3.0.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/is_wpmu_sitewide_plugin