Yoast\WP\SEO\Services\Health_Check

Curl_Runner::is_successful()publicYoast 1.0

Returns whether the health check was successful.

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

Хуков нет.

Возвращает

true|false. True if all the routines for this health check were successful.

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

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

Код Curl_Runner::is_successful() Yoast 19.2

public function is_successful() {
	return $this->has_installed_addons && $this->curl_is_recent && $this->got_my_yoast_api_response;
}