Yoast\WP\SEO\Services\Health_Check

Curl_Runner::run()publicYoast 1.0

Runs the health check. Checks if cURL is installed and up to date, and if it's able to reach the MyYoast API

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

Хуков нет.

Возвращает

null. Ничего.

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

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

Код Curl_Runner::run() Yoast 19.2

public function run() {
	$this->check_has_installed_addons();
	$this->check_curl_installed();

	if ( ! $this->curl_installed ) {
		return;
	}

	$this->check_curl_is_recent();
	$this->check_can_reach_my_yoast_api();
}