Yoast\WP\SEO\Services\Health_Check

Page_Comments_Reports::get_success_result()publicYoast 1.0

Returns the report for when comments are set to be all on one page.

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

Хуков нет.

Возвращает

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

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

$Page_Comments_Reports = new Page_Comments_Reports();
$Page_Comments_Reports->get_success_result();

Код Page_Comments_Reports::get_success_result() Yoast 25.1

public function get_success_result() {
	return $this->get_report_builder()
		->set_label( \esc_html__( 'Comments are displayed on a single page', 'wordpress-seo' ) )
		->set_status_good()
		->set_description( \__( 'Comments on your posts are displayed on a single page. This is just like we\'d suggest it. You\'re doing well!', 'wordpress-seo' ) )
		->build();
}