public/wordpress/wp-content/plugins/wp-courseware/includes/gateways/stripe/stripe-api.php
/**
	 * Internal Stripe Api: Create a Subscription.
	 *
	 * @since 4.3.0
	 *
	 * @param array $args The plan args.
	 *
	 * @return Subscription|object The Stripe Subscription object or error object on failure.
	 */
Internal Stripe Api: Create a Subscription.

@param array $args The plan args.

@return Subscription|object The Stripe Subscription object or error object on failure.
Internal Stripe Api : Create a Subscription . @param array $args The plan args . @return Subscription|object The Stripe Subscription object or error object on failure .
protected function api_create_subscription( $args = array() ) {
		if ( empty( $args ) ) {
			throw new Stripe_Exception( 'stripe-api-subscription-args-empty', esc_html__( 'The args to create the stripe subscription are empty. Please try again.', 'wp-courseware' ) );
		}
		return Subscription::create( $args );
	}
protected function api_create_subscription ( $ args = array ( ) ) { if ( empty ( $ args ) ) { throw new Stripe_Exception ( 'stripe-api-subscription-args-empty' , esc_html__ ( 'The args to create the stripe subscription are empty. Please try again.' , 'wp-courseware' ) ) ; } return Subscription :: create ( $ args ) ; }
Internal Stripe Api: Create a Subscription.
Internal Stripe Api : Create a Subscription .