W3cubDocs

/WordPress

Requests_IRI::set_userinfo( string $iuserinfo )

Set the iuserinfo.

Parameters

$iuserinfo

(string) (Required)

Return

(bool)

Source

File: wp-includes/Requests/IRI.php

protected function set_userinfo($iuserinfo) {
		if ($iuserinfo === null) {
			$this->iuserinfo = null;
		}
		else {
			$this->iuserinfo = $this->replace_invalid_with_pct_encoding($iuserinfo, '!$&\'()*+,;=:');
			$this->scheme_normalization();
		}

		return true;
	}

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