includes/class-fs-options.php
private function should_use_network_storage( $option, $network_level_or_blog_id = null ) {
            if ( ! $this->_is_multisite ) {
                // Not a multisite environment.
                return false;
            }

            if ( is_numeric( $network_level_or_blog_id ) ) {
                // Explicitly asked to use a specified blog storage.
                return false;
            }

            if ( is_bool( $network_level_or_blog_id ) ) {
                // Explicitly specified whether should use the network or blog level storage.
                return $network_level_or_blog_id;
            }

            // Determine which storage to use based on the option.
            return ! $this->is_site_option( $option );
        }
private function should_use_network_storage( $option, $network_level_or_blog_id = null ) {
            if ( ! $this->_is_multisite ) {
                // Not a multisite environment.
                return false;
            }

            if ( is_numeric( $network_level_or_blog_id ) ) {
                // Explicitly asked to use a specified blog storage.
                return false;
            }

            if ( is_bool( $network_level_or_blog_id ) ) {
                // Explicitly specified whether should use the network or blog level storage.
                return $network_level_or_blog_id;
            }

            // Determine which storage to use based on the option.
            return ! $this->is_site_option( $option );
        }
private function should_use_network_storage ( $ option , $ network_level_or_blog_id = null ) { if ( ! $ this -> _is_multisite ) { // Not a multisite environment.
 return false ; } if ( is_numeric ( $ network_level_or_blog_id ) ) { // Explicitly asked to use a specified blog storage.
 return false ; } if ( is_bool ( $ network_level_or_blog_id ) ) { // Explicitly specified whether should use the network or blog level storage.
 return $ network_level_or_blog_id ; } // Determine which storage to use based on the option.
 return ! $ this -> is_site_option ( $ option ) ; }
Check if an option should be stored on the MS network storage.

@author Vova Feldman (@svovaf)
@since  2.0.0

@param string        $option
@param null|bool|int $network_level_or_blog_id When an integer, use the given blog storage. When `true` use the multisite storage (if there's a network). When `false`, use the current context blog storage. When `null`, the decision which storage to use (MS vs. Current S) will be handled internally and determined based on the $option (based on self::$_SITE_LEVEL_PARAMS).

@return bool
Check if an option should be stored on the MS network storage .