Yoast\WP\SEO\Services\Health_Check

Report_Builder::build()publicYoast 1.0

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() Yoast 19.2

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,
	];
}