Yoast\WP\SEO\MyYoast_Client\Application
MyYoast_Client::refresh_registration_status
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() MyYoast Client::refresh registration status Yoast 28.9
public function refresh_registration_status(): array {
return $this->client_registration->read_registration();
}