Yoast\WP\SEO\Services\Health_Check

Default_Tagline_Reports::get_has_default_tagline_result()publicYoast 1.0

Returns the message for a failed health check. In this case, when the user still has the default WordPress tagline set.

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

Хуков нет.

Возвращает

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

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

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

Код Default_Tagline_Reports::get_has_default_tagline_result() Yoast 19.2

public function get_has_default_tagline_result() {
	return $this->get_report_builder()
		->set_label( \__( 'You should change the default WordPress tagline', 'wordpress-seo' ) )
		->set_status_recommended()
		->set_description( \__( 'You still have the default WordPress tagline. Even an empty one is probably better.', 'wordpress-seo' ) )
		->set_actions( $this->get_actions() )
		->build();
}