Tribe__Tickets_Plus__Meta__Storage::delete_cookie( int $id )

Deletes the cookie storing the transient hash


Parameters

$id

(int) (Required) The ticket ID.


Top ↑

Source

File: src/Tribe/Meta/Storage.php

	public function delete_cookie() {
		setcookie( self::HASH_COOKIE_KEY, '', time() - 3600, COOKIEPATH ? COOKIEPATH : '/', COOKIE_DOMAIN, is_ssl(), true );
		unset( $_COOKIE[ self::HASH_COOKIE_KEY ] );
	}