Yoast\WP\SEO\MyYoast_Client\Application

MyYoast_Client::refresh_registration_status │ public │ Yoast 1.0

Refreshes the local registration status against the server.

Reads the current client registration (RFC 7592 GET) to confirm it is still live; the underlying read self-heals by forgetting the local registration when the server reports it gone.

Метод класса: MyYoast_Client{}

Хуков нет.

Возвращает

array<string, string|string[]>. The registration metadata.

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

$MyYoast_Client = new MyYoast_Client();
$MyYoast_Client->refresh_registration_status(): array;

Код MyYoast_Client::refresh_registration_status() Yoast 28.9

public function refresh_registration_status(): array {
	return $this->client_registration->read_registration();
}