WP_Recovery_Mode_Key_Service::generate_recovery_mode_token(): string
Creates a recovery mode token.
Return
string A random string to identify its associated key in storage.
Source
File: wp-includes/class-wp-recovery-mode-key-service.php
.
View all references
public function generate_recovery_mode_token() {
return wp_generate_password( 22, false );
}
Changelog
Version | Description |
---|---|
5.2.0 | Introduced. |