Tribe__Tickets_Plus__Commerce__WooCommerce__Cart::hook()
Hook relevant actions and filters
Source
File: src/Tribe/Commerce/WooCommerce/Cart.php
public function hook() {
parent::hook();
add_filter( 'tribe_tickets_attendee_registration_checkout_url', [ $this, 'maybe_filter_attendee_registration_checkout_url' ], 8 );
add_filter( 'woocommerce_get_checkout_url', [ $this, 'maybe_filter_checkout_url_to_attendee_registration' ], 12 );
add_filter( 'tribe_tickets_tickets_in_cart', [ $this, 'get_tickets_in_cart' ] );
add_filter( 'tribe_providers_in_cart', [ $this, 'providers_in_cart' ], 15 );
add_filter( 'tribe_tickets_woo_cart_url', [ $this, 'add_provider_to_cart_url' ] );
}
Changelog
| Version | Description |
|---|---|
| 4.9 | Introduced. |