public/wordpress/wp-content/plugins/wp-courseware/includes/gateways/gateway-paypal.php
/**
	 * IPN Subscription: Get PayPal Period Interval.
	 *
	 * @since 4.6.0
	 *
	 * @param string $paypal_period The paypal period that is passed with the request.
	 *
	 * @return string $interval The actual period interval
	 */
IPN Subscription: Get PayPal Period Interval.

@param string $paypal_period The paypal period that is passed with the request.

@return string $interval The actual period interval
IPN Subscription : Get PayPal Period Interval . @param string $paypal_period The paypal period that is passed with the request . @return string $interval The actual period interval
protected function ipn_subscription_get_paypal_period_interval( $paypal_period ) {
		$period   = substr( $paypal_period, - 1, 1 );
		$interval = absint( substr( $paypal_period, 0, 1 ) );
		$this->log( sprintf( 'Passed Period: %s', $paypal_period ) );
		$this->log( sprintf( 'Period: %s', $period ) );
		$this->log( sprintf( 'Interval: %s', $interval ) );
		return $interval;
	}
protected function ipn_subscription_get_paypal_period_interval ( $ paypal_period ) { $ period = substr ( $ paypal_period , - 1 , 1 ) ; $ interval = absint ( substr ( $ paypal_period , 0 , 1 ) ) ; $ this -> log ( sprintf ( 'Passed Period: %s' , $ paypal_period ) ) ; $ this -> log ( sprintf ( 'Period: %s' , $ period ) ) ; $ this -> log ( sprintf ( 'Interval: %s' , $ interval ) ) ; return $ interval ; }
IPN Subscription: Get PayPal Period Interval.
IPN Subscription : Get PayPal Period Interval .