Yoast\WP\SEO\Services\Health_Check
Health_Check::run_and_get_result()
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() Health Check::run and get result Yoast 22.4
public function run_and_get_result() { $this->runner->run(); return $this->get_result(); }