Requests_IRI::__construct() WordPress Method
The Requests_IRI::__construct() method is used to construct an IRI for use with Requests. An IRI (Internationalized Resource Identifier) is a global identifier for resources that can be used regardless of language or writing system. This method takes a single parameter, which is the IRI string.
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); }
Expand full source codeCollapse full source codeView on TracView on GitHub