Requests_Response_Headers::getValues( string $key )
Get all values for a given header
Parameters
- $key
-
(string) (Required)
Return
(array|null) Header values
Source
File: wp-includes/Requests/Response/Headers.php
public function getValues($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_response_headers/getvalues