do_action( 'generate_recovery_mode_key', string $token, string $key )

Fires when a recovery mode key is generated.

Parameters

$token

(string) The recovery data token.

$key

(string) The recovery mode key.

Source

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

View on Trac

Changelog

Version Description
5.2.0 Introduced.

© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/generate_recovery_mode_key