Requests_Cookie_Jar::offsetGet() public WP 1.0
Get the value for the item
{} It's a method of the class: Requests_Cookie_Jar{}
No Hooks.
Return
String. Item value
Usage
$Requests_Cookie_Jar = new Requests_Cookie_Jar(); $Requests_Cookie_Jar->offsetGet( $key );
- $key(string) (required)
- Item key
Code of Requests_Cookie_Jar::offsetGet() Requests Cookie Jar::offsetGet WP 5.6
public function offsetGet($key) {
if (!isset($this->cookies[$key])) {
return null;
}
return $this->cookies[$key];
}