includes/class-freemius.php
function checkout_url(
            $billing_cycle = WP_FS__PERIOD_ANNUALLY,
            $is_trial = false,
            $extra = array()
        ) {
            $this->_logger->entrance();

            $params = array(
                'checkout'      => 'true',
                'billing_cycle' => $billing_cycle,
            );

            if ( $is_trial ) {
                $params['trial'] = 'true';
            }

            /**
             * Params in extra override other params.
             */
            $params = array_merge( $params, $extra );

            return $this->_get_admin_page_url( 'pricing', $params );
        }
function checkout_url(
            $billing_cycle = WP_FS__PERIOD_ANNUALLY,
            $is_trial = false,
            $extra = array()
        ) {
            $this->_logger->entrance();

            $params = array(
                'checkout'      => 'true',
                'billing_cycle' => $billing_cycle,
            );

            if ( $is_trial ) {
                $params['trial'] = 'true';
            }

            /**
             * Params in extra override other params.
             */
            $params = array_merge( $params, $extra );

            return $this->_get_admin_page_url( 'pricing', $params );
        }
function checkout_url ( $ billing_cycle = WP_FS__PERIOD_ANNUALLY , $ is_trial = false , $ extra = array ( ) ) { $ this -> _logger -> entrance ( ) ; $ params = array ( 'checkout' => 'true' , 'billing_cycle' => $ billing_cycle , ) ; if ( $ is_trial ) { $ params [ 'trial' ] = 'true' ; } /**
             * Params in extra override other params.
             */ $ params = array_merge ( $ params , $ extra ) ; return $ this -> _get_admin_page_url ( 'pricing' , $ params ) ; }
Checkout page URL.

@author   Vova Feldman (@svovaf)
@since    1.0.6

@param string $billing_cycle Billing cycle
@param bool   $is_trial
@param array  $extra         (optional) Extra parameters, override other query params.

@return string
Checkout page URL .