get_keys() { return (array) get_option( $this->option_name, array() ); } /** * Updates the recovery key records. * * @since 5.2.0 * @since 6.8.0 Each key should now be hashed using wp_fast_hash() instead of phpass. * * @param array $keys { * Associative array of token => data pairs, where the data is an associative * array of information about the key. * * @type array ...$0 { * Information about the key. * * @type string $hashed_key The hashed value of the key. * @type int $created_at The timestamp when the key was created. * } * } * @return bool True on success, false on failure. */ private function update_keys( array $keys ) { return update_option( $this->option_name, $keys, false ); } }