Uses
Uses | Description |
---|---|
wp-includes/Requests/IRI.php: Requests_IRI::set_iri() | Set the entire IRI. Returns true on success, false on failure (if there are any invalid characters). |
Create a new IRI object, from a specified string
(string|null) (Optional)
Default value: null
File: wp-includes/Requests/IRI.php
public function __construct($iri = null) { $this->set_iri($iri); }
Uses | Description |
---|---|
wp-includes/Requests/IRI.php: Requests_IRI::set_iri() | Set the entire IRI. Returns true on success, false on failure (if there are any invalid characters). |
Used By | Description |
---|---|
wp-includes/class-requests.php: Requests::set_defaults() | Set the default values |
wp-includes/Requests/IRI.php: Requests_IRI::absolutize() | Create a new IRI object by resolving a relative IRI |
wp-includes/Requests/Cookie/Jar.php: Requests_Cookie_Jar::before_request() | Add Cookie header to a request if we have any |
wp-includes/Requests/Cookie/Jar.php: Requests_Cookie_Jar::before_redirect_check() | Parse all cookies from a response and attach them to the response |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/requests_iri/__construct