WordPress at Your Fingertips
function is not described

Requests_IRI::get_authority() protected WP 1.0

Get the complete authority

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

Code of Requests_IRI::get_authority() WP 5.8

<?php
protected function get_authority() {
	$iauthority = $this->get_iauthority();
	if (is_string($iauthority)) {
		return $this->to_uri($iauthority);
	}
	else {
		return $iauthority;
	}
}