WpOrg\Requests

Iri::get_authority()protectedWP 1.0

Get the complete authority

Method of the class: Iri{}

No Hooks.

Return

String.

Usage

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

Iri::get_authority() code WP 6.6.2

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