Yoast\WP\SEO\Services\Health_Check

Curl_Reports::get_success_result()publicYoast 1.0

Returns the message for a successful health check.

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

Хуков нет.

Возвращает

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

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

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

Код Curl_Reports::get_success_result() Yoast 19.2

public function get_success_result() {
	return $this->get_report_builder()
		/* translators: %1$s expands to 'Yoast'. */
		->set_label( sprintf( __( '%1$s premium plugin updates work fine', 'wordpress-seo' ), 'Yoast' ) )
		->set_status_good()
		->set_description( __( 'Great! You can activate your premium plugin(s) and receive updates.', 'wordpress-seo' ) )
		->build();
}