W3cubDocs

/WordPress

Requests_IRI::get_authority()

Get the complete authority

Return

(string)

Source

File: wp-includes/Requests/IRI.php

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

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/requests_iri/get_authority