Requests_Utility_CaseInsensitiveDictionary::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/Utility/CaseInsensitiveDictionary.php
public function offsetGet($key) { $key = strtolower($key); if (!isset($this->data[$key])) { return null; } return $this->data[$key]; }
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/requests_utility_caseinsensitivedictionary/offsetget