Yoast\WP\SEO\Services\Health_Check

Default_Tagline_Reports::get_success_result()publicYoast 1.0

Returns the message for a successful health check.

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

Хуков нет.

Возвращает

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

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

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

Код Default_Tagline_Reports::get_success_result() Yoast 19.2

public function get_success_result() {
	return $this->get_report_builder()
		->set_label( \__( 'You changed the default WordPress tagline', 'wordpress-seo' ) )
		->set_status_good()
		->set_description( \__( 'You are using a custom tagline or an empty one.', 'wordpress-seo' ) )
		->build();
}