Uses
Uses | Description |
---|---|
wp-includes/pluggable.php: wp_generate_password() | Generates a random password drawn from the defined set of characters. |
Creates a recovery mode token.
(string) A random string to identify its associated key in storage.
File: wp-includes/class-wp-recovery-mode-key-service.php
public function generate_recovery_mode_token() { return wp_generate_password( 22, false ); }
Version | Description |
---|---|
5.2.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_recovery_mode_key_service/generate_recovery_mode_token