Yoast\WP\SEO\Services\Health_Check
Page_Comments_Reports::get_success_result
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() Page Comments Reports::get success result Yoast 27.7
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();
}