WPDev.one
Core Class

WP_Recovery_Mode_Link_Service

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

Core class used to generate and handle recovery mode links.

Methods 4 methods

Method / Return Description
__construct()
void

WP_Recovery_Mode_Link_Service constructor.

Parameters: $cookie_service: WP_Recovery_Mode_Cookie_Service, $key_service: WP_Recovery_Mode_Key_Service
generate_url()
string

Generates a URL to begin recovery mode.

handle_begin_link()
void

Enters recovery mode when the user hits wp-login.php with a valid recovery mode link.

Parameters: $ttl: mixed
get_recovery_mode_begin_url()
string

Gets a URL to begin recovery mode.

Parameters: $token: mixed, $key: mixed

Properties

Property / Type Description
$key_service
mixed
public
No description available.
$cookie_service
mixed
public
No description available.

Class Information

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