EP_Config::is_network PHP Method

is_network() public method

Determines whether plugin is network activated or just on the local site.
Since: 1.8
public is_network ( string $plugin ) : boolean
$plugin string the plugin base name.
return boolean True if network activated or false
    public function is_network($plugin)
    {
        $plugins = get_site_option('active_sitewide_plugins');
        if (is_multisite() && isset($plugins[$plugin])) {
            return true;
        }
        return false;
    }