Requests_Cookie_Jar::offsetUnset() WordPress Method

The offsetUnset() method is a member of the Requests_Cookie_Jar class. It is used to remove a cookie from the cookie jar by its offset.

Requests_Cookie_Jar::offsetUnset( string $key ) #

Unset the given header


Parameters

$key

(string)(Required)


Top ↑

Source

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

	public function offsetUnset($key) {
		unset($this->cookies[$key]);
	}

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.