generate_recovery_mode_key WordPress Action Hook

The generate_recovery_mode_key hook is used to generate a recovery mode key for a WordPress site. This key is used to access the site in recovery mode, which is a mode that allows you to troubleshoot and repair your site.

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.


Top ↑

Source

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

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
5.2.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.