Requests_IRI::__construct( string|null $iri = null )

Create a new IRI object, from a specified string

Parameters

$iri

(string|null) (Optional)

Default value: null

Source

File: wp-includes/Requests/IRI.php

public function __construct($iri = null) {
		$this->set_iri($iri);
	}

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