WordPress at a glance
function is not described

Requests_IRI::get_iauthority() protected WP 1.0

Get the complete iauthority

{} 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_iauthority();

Code of Requests_IRI::get_iauthority() WP 5.5.1

<?php
protected function get_iauthority() {
	if ($this->iuserinfo === null && $this->ihost === null && $this->port === null) {
		return null;
	}

	$iauthority = '';
	if ($this->iuserinfo !== null) {
		$iauthority .= $this->iuserinfo . '@';
	}
	if ($this->ihost !== null) {
		$iauthority .= $this->ihost;
	}
	if ($this->port !== null) {
		$iauthority .= ':' . $this->port;
	}
	return $iauthority;
}