WP_Recovery_Mode_Key_Service::generate_recovery_mode_token()

Creates a recovery mode token.


Description Description


Return Return

(string) $token A random string to identify its associated key in storage.


Top ↑

Source Source

File: wp-includes/class-wp-recovery-mode-key-service.php

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

Top ↑

Changelog Changelog

Changelog
Version Description
5.2.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

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