Requests_Response_Headers::getValues( string $key )

Get all values for a given header


Description Description


Parameters Parameters

$key

(string) (Required)


Top ↑

Return Return

(array) Header values


Top ↑

Source 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];
	}

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.