WP_Recovery_Mode_Link_Service::__construct()publicWP 5.2.0

WP_Recovery_Mode_Link_Service constructor.

Method of the class: WP_Recovery_Mode_Link_Service{}

No Hooks.

Return

null. Nothing (null).

Usage

$WP_Recovery_Mode_Link_Service = new WP_Recovery_Mode_Link_Service();
$WP_Recovery_Mode_Link_Service->__construct( $cookie_service, $key_service );
$cookie_service(WP_Recovery_Mode_Cookie_Service) (required)
Service to handle setting the recovery mode cookie.
$key_service(WP_Recovery_Mode_Key_Service) (required)
Service to handle generating recovery mode keys.

Changelog

Since 5.2.0 Introduced.

WP_Recovery_Mode_Link_Service::__construct() code WP 6.5.2

public function __construct( WP_Recovery_Mode_Cookie_Service $cookie_service, WP_Recovery_Mode_Key_Service $key_service ) {
	$this->cookie_service = $cookie_service;
	$this->key_service    = $key_service;
}