WPDev.one
Core Class

WP_Recovery_Mode_Email_Service

class WP_Recovery_Mode_Email_Service // Constructor: function Object() { [native code] }

Core class used to send an email with a link to begin Recovery Mode.

Methods 8 methods

Method / Return Description
__construct()
void

WP_Recovery_Mode_Email_Service constructor.

Parameters: $link_service: WP_Recovery_Mode_Link_Service
maybe_send_recovery_mode_email()
(true

Sends the recovery mode email if the rate limit has not been sent.

Parameters: $rate_limit: mixed, $error: mixed, $extension: mixed
clear_rate_limit()
bool

Clears the rate limit, allowing a new recovery mode email to be sent immediately.

send_recovery_mode_email()
bool

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

Parameters: $rate_limit: mixed, $error: mixed, $extension: mixed
get_recovery_mode_email_address()
string

Gets the email address to send the recovery mode link to.

get_cause()
string

Gets the description indicating the possible cause for the error.

Parameters: $extension: mixed
get_plugin()
(array

Return the details for a single plugin based on the extension data from an error.

Parameters: $extension: mixed
get_debug()
array

Return debug information in an easy to manipulate format.

Parameters: $extension: mixed

Properties

Property / Type Description
$link_service
mixed
public
No description available.

Class Information

Since Version
5.2.0
Source File
wp-includes/class-wp-recovery-mode-email-service.php
Advertisement