public/wordpress/wp-content/plugins/wp-courseware/includes/gateways/stripe/stripe-api.php
/**
	 * Internal Stripe Api: Get a Product.
	 *
	 * @since 4.3.0
	 *
	 * @param string $id The product id.
	 *
	 * @return Product|object The Stripe Product object or error object on failure.
	 */
Internal Stripe Api: Get a Product.

@param string $id The product id.

@return Product|object The Stripe Product object or error object on failure.
Internal Stripe Api : Get a Product . @param string $id The product id . @return Product|object The Stripe Product object or error object on failure .
protected function api_get_product( $id = '' ) {
		if ( empty( $id ) ) {
			throw new Stripe_Exception( 'stripe-api-product-id-empty', esc_html__( 'The id to retrieve the stripe product is empty. Please try again.', 'wp-courseware' ) );
		}
		return Product::retrieve( $id );
	}
protected function api_get_product ( $ id = '' ) { if ( empty ( $ id ) ) { throw new Stripe_Exception ( 'stripe-api-product-id-empty' , esc_html__ ( 'The id to retrieve the stripe product is empty. Please try again.' , 'wp-courseware' ) ) ; } return Product :: retrieve ( $ id ) ; }
Internal Stripe Api: Get a Product.
Internal Stripe Api : Get a Product .