W3cubDocs

/WordPress

Requests_IRI::__unset( string $name )

Overload __unset() to provide access via properties

Parameters

$name

(string) (Required) Property name

Source

File: wp-includes/Requests/IRI.php

public function __unset($name) {
		if (method_exists($this, 'set_' . $name)) {
			call_user_func(array($this, 'set_' . $name), '');
		}
	}

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