W3cubDocs

/WordPress

WP_Recovery_Mode_Key_Service::get_keys(): array

Gets the recovery key records.

Return

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

Source

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

Changelog

Version Description
5.2.0 Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_recovery_mode_key_service/get_keys