includes/class-freemius.php
function is_single_plan() {
            $this->_logger->entrance();

            if ( ! $this->is_registered() ||
                 ! is_array( $this->_plans ) ||
                 0 === count( $this->_plans )
            ) {
                return true;
            }

            return ( 1 === count( $this->_plans ) );
        }
function is_single_plan() {
            $this->_logger->entrance();

            if ( ! $this->is_registered() ||
                 ! is_array( $this->_plans ) ||
                 0 === count( $this->_plans )
            ) {
                return true;
            }

            return ( 1 === count( $this->_plans ) );
        }
function is_single_plan ( ) { $ this -> _logger -> entrance ( ) ; if ( ! $ this -> is_registered ( ) || ! is_array ( $ this -> _plans ) || 0 === count ( $ this -> _plans ) ) { return true ; } return ( 1 === count ( $ this -> _plans ) ) ; }
Check if module has only one plan.

@author Vova Feldman (@svovaf)
@since  1.2.1.7

@return bool
Check if module has only one plan .