Tribe__Tickets_Plus__Commerce__WooCommerce__Cart::get_cart_url()
Get WooCommerce Cart URL.
Return
(string) WooCommerce Cart URL.
Source
File: src/Tribe/Commerce/WooCommerce/Cart.php
public function get_cart_url() {
$cart_url = wc_get_cart_url();
$cart_url = $this->add_provider_to_cart_url( $cart_url );
/**
* Allow filtering of the WooCommerce Cart URL.
*
* @since 4.10
*
* @param string $cart_url WooCommerce Cart URL.
*/
return apply_filters( 'tribe_tickets_woo_cart_url', $cart_url );
}
Changelog
| Version | Description |
|---|---|
| 5.0.1 | Remove adding Provider query arg. |
| 4.11.0 | Introduced. |