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....$0
arrayInformation about the key.hashed_key
stringThe hashed value of the key.created_at
intThe timestamp when the key was created.
Source
private function get_keys() { return (array) get_option( $this->option_name, array() ); }
Related
Uses Description get_option() wp-includes/option.php
Retrieves an option value based on an option name.
Used by Description WP_Recovery_Mode_Key_Service::generate_and_store_recovery_mode_key() wp-includes/class-wp-recovery-mode-key-service.php
Creates a recovery mode key.
WP_Recovery_Mode_Key_Service::validate_recovery_mode_key() wp-includes/class-wp-recovery-mode-key-service.php
Verifies if the recovery mode key is correct.
WP_Recovery_Mode_Key_Service::clean_expired_keys() wp-includes/class-wp-recovery-mode-key-service.php
Removes expired recovery mode keys.
WP_Recovery_Mode_Key_Service::remove_key() wp-includes/class-wp-recovery-mode-key-service.php
Removes a used recovery key.
Changelog
Version Description 6.8.0 Each key is now hashed using wp_fast_hash() instead of phpass.
Existing keys may still be hashed using phpass.5.2.0 Introduced.
User Contributed Notes
You must log in before being able to contribute a note or feedback.