On this page
apply_filters( 'recovery_mode_email', array $email, string $url )
Filters the contents of the Recovery Mode email.
Parameters
$emailarray-
Used to build a call to wp_mail() .
tostring|arrayArray or comma-separated list of email addresses to send message.subjectstringEmail subjectmessagestringMessage contentsheadersstring|arrayOptional. Additional headers.attachmentsstring|arrayOptional. Files to attach.
$urlstring-
URL to enter recovery mode.
Source
File: wp-includes/class-wp-recovery-mode-email-service.php. View all references
$email = apply_filters( 'recovery_mode_email', $email, $url );
Related
Used By
| Used By | Description |
|---|---|
| WP_Recovery_Mode_Email_Service::send_recovery_mode_email() wp-includes/class-wp-recovery-mode-email-service.php | Sends the Recovery Mode email to the site admin email address. |
Changelog
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/recovery_mode_email