Yoast\WP\SEO\Services\Health_Check

Ryte_Reports::get_not_indexable_result()publicYoast 1.0

Returns the report for a health check result in which the site was not indexable.

{} Это метод класса: Ryte_Reports{}

Хуков нет.

Возвращает

Строку[]. The message as a WordPress site status report.

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

$Ryte_Reports = new Ryte_Reports();
$Ryte_Reports->get_not_indexable_result();

Код Ryte_Reports::get_not_indexable_result() Yoast 19.2

public function get_not_indexable_result() {
	return $this->get_report_builder()
		->set_label( __( 'Your site cannot be found by search engines', 'wordpress-seo' ) )
		->set_status_critical()
		->set_description( $this->get_not_indexable_result_description() )
		->set_actions( $this->get_not_indexable_result_actions() . $this->get_ryte_actions() )
		->build();
}