Tribe__Tickets__Commerce__PayPal__Main::commerce_get_cart_url( string $cart_url, array $data, int $post_id )
Get Tribe Commerce Cart URL for Commerce.
Contents
Parameters
- $cart_url
-
(string) (Required) Cart URL.
- $data
-
(array) (Required) Commerce response data to be sent.
- $post_id
-
(int) (Required) Post ID for the cart.
Return
(string) Tribe Commerce Cart URL.
Source
File: src/Tribe/Commerce/PayPal/Main.php
public function commerce_get_cart_url( $cart_url, $data, $post_id ) {
return $this->get_cart_url( $post_id );
}
Changelog
| Version | Description |
|---|---|
| 4.11.0 | Introduced. |