Yoast\WP\SEO\MyYoast_Client\Domain
HTTP_Response::is_transport_failure
Whether no response was received (transport failure).
Метод класса: HTTP_Response{}
Хуков нет.
Возвращает
bool. True if the status is 0.
Использование
$HTTP_Response = new HTTP_Response(); $HTTP_Response->is_transport_failure(): bool;
Код HTTP_Response::is_transport_failure() HTTP Response::is transport failure Yoast 28.9
public function is_transport_failure(): bool {
return ( $this->status === 0 );
}