Checkout::parse_request()

If there is any data or request management or parsing that needs to happen on the Checkout page here is where we do it.

Contents


Source

File: src/Tickets/Commerce/Checkout.php

	public function parse_request() {
		if ( ! $this->is_current_page() ) {
			return;
		}

		// In case the ID is passed we set the cookie for usage.
		$cookie_param = tribe_get_request_var( Cart::$cookie_query_arg, false );
		if ( $cookie_param ) {
			tribe( Cart::class )->set_cart_hash_cookie( $cookie_param );
		}
	}

Top ↑

Changelog

Changelog
Version Description
5.1.9 Introduced.