Yoast\WP\SEO\Services\Health_Check

Health_Check::run_and_get_result()publicYoast 1.0

Runs the health check, and returns its result in the format that WordPress requires to show the results to the user (https://developer.wordpress.org/reference/hooks/site_status_test_result/).

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

Хуков нет.

Возвращает

Строку[]. The array containing a WordPress site status report.

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

$Health_Check = new Health_Check();
$Health_Check->run_and_get_result();

Код Health_Check::run_and_get_result() Yoast 19.2

public function run_and_get_result() {
	$this->runner->run();
	return $this->get_result();
}