Tribe__Tickets__Commerce__PayPal__Main::get_cart_url( null|int $post_id = null )
Get Tribe Commerce Cart URL.
Contents
Parameters
- $post_id
-
(null|int) (Optional) Post ID for the cart.
Default value: null
Return
(string) Tribe Commerce Cart URL.
Source
File: src/Tribe/Commerce/PayPal/Main.php
public function get_cart_url() {
return tribe( 'tickets.commerce.paypal.gateway' )->get_cart_url();
}
Changelog
| Version | Description |
|---|---|
| 4.11.0 | Introduced. |