WP_Recovery_Mode_Key_Service::generate_recovery_mode_token

Advertisement

Summery Summery

Creates a recovery mode token.

Syntax Syntax

WP_Recovery_Mode_Key_Service::generate_recovery_mode_token()

Return Return

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

Source Source

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

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

Advertisement

Changelog Changelog

Changelog
Version Description
5.2.0 Introduced.

Advertisement

Leave a Reply