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.
Метод класса: UriInterface{}
Хуков нет.
Возвращает
Строку. The URI host.
Использование
$UriInterface = new UriInterface(); $UriInterface->getHost(): string;
Заметки
Код UriInterface::getHost() UriInterface::getHost WP 7.0.4
public function getHost(): string;