Requests_IRI::get_authority() WordPress Method

The Requests_IRI::get_authority() method is used to get the authority component of an IRI. This component is typically the domain name of the website that the IRI belongs to.

Requests_IRI::get_authority() #

Get the complete authority


Return

(string)


Top ↑

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;
		}
	}

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.