Requests_Cookie_Jar::offsetExists() WordPress Method
The offsetExists() method of the Requests_Cookie_Jar class is used to check if a given key exists in the cookie jar.
Requests_Cookie_Jar::offsetExists( string $key ) #
Check if the given item exists
Contents
Parameters
- $key
(string)(Required)Item key
Return
(boolean) Does the item exist?
Source
File: wp-includes/Requests/Cookie/Jar.php
public function offsetExists($key) { return isset($this->cookies[$key]); }
Expand full source codeCollapse full source codeView on TracView on GitHub