Requests_Utility_CaseInsensitiveDictionary::offsetUnset() WordPress Method
The Requests_Utility_CaseInsensitiveDictionary::offsetUnset() method removes the specified key from the dictionary. The key is case-insensitive, so it will remove the key regardless of how it is capitalized.
Requests_Utility_CaseInsensitiveDictionary::offsetUnset( string $key ) #
Unset the given header
Contents
Parameters
- $key
(string)(Required)
Source
File: wp-includes/Requests/Utility/CaseInsensitiveDictionary.php
public function offsetUnset($key) { unset($this->data[strtolower($key)]); }
Expand full source codeCollapse full source codeView on TracView on GitHub