Yoast\WP\SEO\MyYoast_Client\User_Interface

MyYoast_Client_Integration::handle_key_rotationpublicYoast 1.0

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() 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() ] );
	}
}