WordPress at a glance
функция не описана

WP_Recovery_Mode_Key_Service::generate_recovery_mode_token() public WP 5.2.0

Creates a recovery mode token.

It's a method of the class: WP_Recovery_Mode_Key_Service{}

Хуков нет.

Возвращает

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

Использование

$WP_Recovery_Mode_Key_Service = new WP_Recovery_Mode_Key_Service();
$WP_Recovery_Mode_Key_Service->generate_recovery_mode_token();

Changelog

Since 5.2.0 Introduced.

Код WP_Recovery_Mode_Key_Service::generate_recovery_mode_token() WP 5.5.1

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