Yoast\WP\SEO\MyYoast_Client\User_Interface
MyYoast_Client_Integration::handle_key_rotation
Handles the key rotation cron event.
Метод класса: MyYoast_Client_Integration{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$MyYoast_Client_Integration = new MyYoast_Client_Integration(); $MyYoast_Client_Integration->handle_key_rotation(): void;
Код MyYoast_Client_Integration::handle_key_rotation() MyYoast Client Integration::handle key rotation Yoast 28.3
public function handle_key_rotation(): void {
try {
$this->client_registration->rotate_registration_keys();
}
catch ( Exception $e ) {
// Best-effort — log but don't crash cron.
$this->logger->warning( 'Yoast MyYoast key rotation failed: {error}', [ 'error' => $e->getMessage() ] );
}
}