Requests_Cookie_Jar::offsetGet( string $key )

Get the value for the item


Description Description


Parameters Parameters

$key

(string) (Required) Item key


Top ↑

Return Return

(string) Item value


Top ↑

Source Source

File: wp-includes/Requests/Cookie/Jar.php

	public function offsetGet($key) {
		if (!isset($this->cookies[$key])) {
			return null;
		}

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

Top ↑

User Contributed Notes User Contributed Notes

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