Yoast\WP\SEO\Services\Health_Check

Curl_Reports::get_no_recent_curl_version_installed_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_no_recent_curl_version_installed_result();

Код Curl_Reports::get_no_recent_curl_version_installed_result() Yoast 19.2

public function get_no_recent_curl_version_installed_result() {
	return $this->get_report_builder()
		/* translators: %1$s expands to 'Yoast'. */
		->set_label( sprintf( __( '%1$s premium plugins cannot update', 'wordpress-seo' ), 'Yoast' ) )
		->set_status_critical()
		->set_description( $this->get_no_recent_curl_version_installed_description() )
		->build();
}