W3cubDocs

/WordPress

Requests_Cookie_Jar::offsetUnset( string $key )

Unset the given header

Parameters

$key

(string) (Required)

Source

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

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

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/requests_cookie_jar/offsetunset