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.
WP_Recovery_Mode_Key_Service::get_keys()
Gets the recovery key records.
Return
(array) Associative array of token => data pairs, where the data is an associative array of information about the key.<br>
- '...$0'
(array) Information about the key.<br>- 'hashed_key'
(string) The hashed value of the key.<br> - 'created_at'
(int) The timestamp when the key was created.<br>
- 'hashed_key'
Source
File: wp-includes/class-wp-recovery-mode-key-service.php
private function get_keys() {
return (array) get_option( $this->option_name, array() );
}
Changelog
Version | Description |
---|---|
5.2.0 | Introduced. |