WordPress at a glance
function is not described

WP_Recovery_Mode_Key_Service::get_keys() private WP 5.2.0

Gets the recovery key records.

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

No Hooks.

Return

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

Usage

// private - for code of main (parent) class only
$result = $this->get_keys();

Changelog

Since 5.2.0 Introduced.

Code of WP_Recovery_Mode_Key_Service::get_keys() WP 5.7.2

<?php
private function get_keys() {
	return (array) get_option( $this->option_name, array() );
}