Requests_Cookie_Jar::offsetGet

Advertisement

Summery Summery

Get the value for the item

Syntax Syntax

Requests_Cookie_Jar::offsetGet( string $key )

Parameters Parameters

$key

(Required) Item key

Return Return

(string) Item value

Source Source

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

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

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

Advertisement

Advertisement

Leave a Reply