is_network_only_plugin ( $plugin )
- (string) $plugin Path to the plugin file relative to the plugins directory.
- (bool) True if plugin is network only, false otherwise.
- Introduced in WordPress: 3.0.0
- Deprecated in WordPress: —
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.
Checks for "Site Wide Only: true" for backward compatibility.