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)
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; } }
Expand full source codeCollapse full source codeView on TracView on GitHub