Yoast\WP\SEO\Services\Health_Check
Report_Builder::build()
Builds an array of strings in the format that WordPress uses to display health checks (https://developer.wordpress.org/reference/hooks/site_status_test_result/).
Метод класса: Report_Builder{}
Хуков нет.
Возвращает
Массив
. The report in WordPress' site status report format.
Использование
$Report_Builder = new Report_Builder(); $Report_Builder->build();
Код Report_Builder::build() Report Builder::build Yoast 22.4
public function build() { return [ 'label' => $this->label, 'status' => $this->status, 'badge' => $this->get_badge(), 'description' => $this->description, 'actions' => $this->get_actions_with_signature(), 'test' => $this->test_identifier, ]; }