Requests_Cookie_Jar::offsetGet( string $key )
Get the value for the item
Parameters
- $key
-
(string) (Required) Item key
Return
(string|null) Item value (null if offsetExists is false)
Source
File: wp-includes/Requests/Cookie/Jar.php
public function offsetGet($key) { if (!isset($this->cookies[$key])) { return null; } return $this->cookies[$key]; }
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/requests_cookie_jar/offsetget