WP_Recovery_Mode_Email_Service::send_recovery_mode_email

Private AccessPrivate Access

This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.

SummerySummery

Sends the Recovery Mode email to the site admin email address.

Syntax

WP_Recovery_Mode_Email_Service::send_recovery_mode_email( int $rate_limit, array $error, array $extension )

ParametersParameters

$rate_limit

(int) (Required) Number of seconds before another email can be sent.

$error

(array) (Required) Error details from error_get_last()

$extension

(array) (Required) Extension that caused the error.

ReturnReturn

(bool) Whether the email was sent successfully.

SourceSource

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


			

ChangelogChangelog

Changelog
Version Description
5.2.0 Introduced.
Scroll to Top