includes/class-freemius.php
private function _store_plans( $store = true ) {
            $this->_logger->entrance();

            $plans = self::get_all_plans( $this->_module_type );

            // Copy plans.
            $encrypted_plans = array();
            for ( $i = 0, $len = count( $this->_plans ); $i < $len; $i ++ ) {
                $encrypted_plans[] = self::_encrypt_entity( $this->_plans[ $i ] );
            }

            $plans[ $this->_slug ] = $encrypted_plans;

            $this->set_account_option( 'plans', $plans, $store );
        }
private function _store_plans( $store = true ) {
            $this->_logger->entrance();

            $plans = self::get_all_plans( $this->_module_type );

            // Copy plans.
            $encrypted_plans = array();
            for ( $i = 0, $len = count( $this->_plans ); $i < $len; $i ++ ) {
                $encrypted_plans[] = self::_encrypt_entity( $this->_plans[ $i ] );
            }

            $plans[ $this->_slug ] = $encrypted_plans;

            $this->set_account_option( 'plans', $plans, $store );
        }
private function _store_plans ( $ store = true ) { $ this -> _logger -> entrance ( ) ; $ plans = self :: get_all_plans ( $ this -> _module_type ) ; // Copy plans.
 $ encrypted_plans = array ( ) ; for ( $ i = 0 , $ len = count ( $ this -> _plans ) ; $ i < $ len ; $ i ++ ) { $ encrypted_plans [ ] = self :: _encrypt_entity ( $ this -> _plans [ $ i ] ) ; } $ plans [ $ this -> _slug ] = $ encrypted_plans ; $ this -> set_account_option ( 'plans' , $ plans , $ store ) ; }
Update plugin's plans information.

@author Vova Feldman (@svovaf)
@since  1.0.2

@param bool $store Flush to Database if true.
Update plugin s plans information .