Yoast\WP\SEO\Llms_Txt\Application\Health_Check
File_Check::get_result
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() 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() );
}