WpOrg\Requests
Iri::set_userinfo()
Set the iuserinfo.
Method of the class: Iri{}
No Hooks.
Return
true|false
.
Usage
// protected - for code of main (parent) or child class $result = $this->set_userinfo( $iuserinfo );
- $iuserinfo(string) (required)
- -
Iri::set_userinfo() Iri::set userinfo code WP 6.6.2
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; }