WordPress at a glance
function is not described

Requests_IRI::get_iri() protected WP 1.0

Get the complete IRI

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

No Hooks.

Return

String.

Usage

// protected - for code of main (parent) or child class
$result = $this->get_iri();

Code of Requests_IRI::get_iri() WP 5.5.1

<?php
protected function get_iri() {
	if (!$this->is_valid()) {
		return false;
	}

	$iri = '';
	if ($this->scheme !== null) {
		$iri .= $this->scheme . ':';
	}
	if (($iauthority = $this->get_iauthority()) !== null) {
		$iri .= '//' . $iauthority;
	}
	$iri .= $this->ipath;
	if ($this->iquery !== null) {
		$iri .= '?' . $this->iquery;
	}
	if ($this->ifragment !== null) {
		$iri .= '#' . $this->ifragment;
	}

	return $iri;
}