Yoast\WP\SEO\Llms_Txt\Application\Health_Check

File_Check::get_result │ protected │ Yoast 1.0

Returns the WordPress-friendly health check result.

Метод класса: File_Check{}

Хуков нет.

Возвращает

string[]. The WordPress-friendly health check result.

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

// protected - в коде основоного (родительского) или дочернего класса
$result = $this->get_result();

Код File_Check::get_result() Yoast 28.9

protected function get_result() {
	if ( $this->runner->is_successful() ) {
		return $this->reports->get_success_result();
	}

	return $this->reports->get_generation_failure_result( $this->runner->get_generation_failure_reason() );
}