Requests_Response_Headers::getValues() – Get all values for a given header

You appear to be a bot. Output may be restricted

Description

Get all values for a given header

Usage

$array|null = Requests_Response_Headers::getValues( $key );

Parameters

$key
( string ) required

Returns

array|null Header values

Source

File name: wordpress/wp-includes/Requests/Response/Headers.php
Lines:

1 to 8 of 8
  public function getValues($key) {
    $key = strtolower($key);
    if (!isset($this->data[$key])) {
      return null;
    }

    return $this->data[$key];
  }
 

 View on GitHub View on Trac