WordPress\AiClientDependencies\Psr\Http\Message
UriInterface::getHost
Retrieve the host component of the URI.
If no host is present, this method MUST return an empty string.
The value returned MUST be normalized to lowercase, per RFC 3986 Section 3.2.2.
Method of the class: UriInterface{}
No Hooks.
Returns
String. The URI host.
Usage
$UriInterface = new UriInterface(); $UriInterface->getHost(): string;
Notes
UriInterface::getHost() UriInterface::getHost code WP 7.0
public function getHost(): string;