Determine if a Plugin is "Network Activated"
-
I am trying to work on a new plug-in that offers site-by-site administration options when it’s activated normally or network-wide options when it’s either network activated or added as a “mu-plugin”. However, I’m not sure how to determine whether the plug-in has been activated normally or through network activation.
Is there any kind of function or array I can utilize in WordPress to determine if a plug-in is part of the normal active plug-ins collection or the network active plug-ins?
I have tried looking for a function similar to is_plugin_active() that would check for network activation, but I haven’t turned anything up. Any advice or suggestions would be greatly appreciated. Thank you.
- The topic ‘Determine if a Plugin is "Network Activated"’ is closed to new replies.