Yoast\WP\SEO\Services\Health_Check

Curl_Runner::can_reach_my_yoast_api()publicYoast 1.0

Returns whether cURL was able to reach the MyYoast API.

{} Это метод класса: Curl_Runner{}

Хуков нет.

Возвращает

true|false. True if cURL was able to reach the MyYoast API.

Использование

$Curl_Runner = new Curl_Runner();
$Curl_Runner->can_reach_my_yoast_api();

Код Curl_Runner::can_reach_my_yoast_api() Yoast 19.2

public function can_reach_my_yoast_api() {
	return $this->got_my_yoast_api_response;
}