WordPress at a glance
function is not described

WP_Recovery_Mode_Key_Service::update_keys() private WP 5.2.0

Updates the recovery key records.

{} It's a method of the class: WP_Recovery_Mode_Key_Service{}

No Hooks.

Return

true/false. True on success, false on failure.

Usage

// private - for code of main (parent) class only
$result = $this->update_keys( $keys );
$keys(array) (required)
Associative array of $token => $data pairs, where $data has keys 'hashed_key' and 'created_at'.

Changelog

Since 5.2.0 Introduced.

Code of WP_Recovery_Mode_Key_Service::update_keys() WP 5.5.1

<?php
private function update_keys( array $keys ) {
	return update_option( $this->option_name, $keys );
}