WP_Recovery_Mode_Key_Service::generate_recovery_mode_token(): string

In this article

Creates a recovery mode token.

Return

string A random string to identify its associated key in storage.

Source

public function generate_recovery_mode_token() {
	return wp_generate_password( 22, false );
}

Changelog

VersionDescription
5.2.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.