Tribe__Tickets_Plus__Meta__Storage::get_hash_cookie( null|int $id = null )
Gets the hash value from the cookie or commerce provider.
Contents
Parameters
- $id
-
(null|int) (Optional) The ticket ID.
Default value: null
Return
(string|null) The hash value or null if not found.
Source
File: src/Tribe/Meta/Storage.php
public function get_hash_cookie() {
return $_COOKIE[ self::HASH_COOKIE_KEY ];
}
Changelog
| Version | Description |
|---|---|
| 4.9 | |
| 4.11.0 | Introduced. |