apply_filters( 'recovery_mode_email', array $email, string $url )

Filters the contents of the Recovery Mode email.


Parameters

$email

Used to build a call to wp_mail().<br>

  • 'to'
    (string|array) Array or comma-separated list of email addresses to send message.<br>
  • 'subject'
    (string) Email subject
  • 'message'
    (string) Message contents
  • 'headers'
    (string|array) Optional. Additional headers.<br>
  • 'attachments'
    (string|array) Optional. Files to attach.<br>

$url

URL to enter recovery mode.


Source

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

View on GitHub


Changelog

Changelog
Version Description
5.6.0 The $email argument includes the attachments key.
5.2.0 Introduced.