includes/class-freemius.php
private static function get_network_plugins() {
            self::require_plugin_essentials();

            $all_plugins = fs_get_plugins();

            $network_active_basenames = is_multisite() ?
                get_site_option( 'active_sitewide_plugins' ) :
                array();

            foreach ( $all_plugins as $basename => &$data ) {
                // By default set to inactive (next foreach update the active plugins).
                $data['is_active'] = false;
                // Enrich with plugin slug.
                $data['slug'] = self::get_plugin_slug( $basename );
            }

            // Flag active plugins.
            foreach ( $network_active_basenames as $basename ) {
                if ( isset( $all_plugins[ $basename ] ) ) {
                    $all_plugins[ $basename ]['is_active'] = true;
                }
            }

            return $all_plugins;
        }
private static function get_network_plugins() {
            self::require_plugin_essentials();

            $all_plugins = fs_get_plugins();

            $network_active_basenames = is_multisite() ?
                get_site_option( 'active_sitewide_plugins' ) :
                array();

            foreach ( $all_plugins as $basename => &$data ) {
                // By default set to inactive (next foreach update the active plugins).
                $data['is_active'] = false;
                // Enrich with plugin slug.
                $data['slug'] = self::get_plugin_slug( $basename );
            }

            // Flag active plugins.
            foreach ( $network_active_basenames as $basename ) {
                if ( isset( $all_plugins[ $basename ] ) ) {
                    $all_plugins[ $basename ]['is_active'] = true;
                }
            }

            return $all_plugins;
        }
private static function get_network_plugins ( ) { self :: require_plugin_essentials ( ) ; $ all_plugins = fs_get_plugins ( ) ; $ network_active_basenames = is_multisite ( ) ? get_site_option ( 'active_sitewide_plugins' ) : array ( ) ; foreach ( $ all_plugins as $ basename => & $ data ) { // By default set to inactive (next foreach update the active plugins).
 $ data [ 'is_active' ] = false ; // Enrich with plugin slug.
 $ data [ 'slug' ] = self :: get_plugin_slug ( $ basename ) ; } // Flag active plugins.
 foreach ( $ network_active_basenames as $ basename ) { if ( isset ( $ all_plugins [ $ basename ] ) ) { $ all_plugins [ $ basename ] [ 'is_active' ] = true ; } } return $ all_plugins ; }
Get collection of all plugins and if they are network level activated.

@author Vova Feldman (@svovaf)
@since  2.0.0

@return array Key is the plugin basename and the value is an array of the plugin data.
Get collection of all plugins and if they are network level activated .