W3cubDocs

/WordPress

Requests_Session::__unset( string $key )

Remove a property’s value

Parameters

$key

(string) (Required) Property key

Source

File: wp-includes/Requests/Session.php

public function __unset($key) {
		if (isset($this->options[$key])) {
			unset($this->options[$key]);
		}
	}

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