WordPress at a glance
function is not described

Requests_IRI::set_userinfo() protected WP 1.0

Set the iuserinfo.

{} It's a method of the class: Requests_IRI{}

No Hooks.

Return

true/false.

Usage

// protected - for code of main (parent) or child class
$result = $this->set_userinfo( $iuserinfo );
$iuserinfo(string) (required)

Code of Requests_IRI::set_userinfo() WP 5.5.2

<?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;
}