Amp_Cart::get_checkout_url( int $cart_id = null )

Summary

Provides a URL endpoint to handle AMP checkout.


Parameters

$cart_id

(int) (Optional) Unused.

Default value: null


Return

(string) URL.


Source

File: src/BigCommerce/Amp/Amp_Cart.php

	public function get_checkout_url( $cart_id = null ) {
		return home_url( sprintf( '/bigcommerce/%s', self::CHECKOUT_REDIRECT_ACTION ) );
	}

User Contributed Notes

You must log in before being able to contribute a note or feedback.