Private Access Private Access

This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.

Summery Summery

Updates the recovery key records.

Syntax Syntax

WP_Recovery_Mode_Key_Service::update_keys( array $keys )

Parameters Parameters


(array) (Required) Associative array of $token => $data pairs, where $data has keys 'hashed_key' and 'created_at'.

Return Return

(bool) True on success, false on failure.

Source Source

File: wp-includes/class-wp-recovery-mode-key-service.php

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


Changelog Changelog

Version Description
5.2.0 Introduced.


Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.