WP_Recovery_Mode_Link_Service::__construct() WordPress Method
The WP_Recovery_Mode_Link_Service::__construct() method is used to initialize the class and set its properties.
WP_Recovery_Mode_Link_Service::__construct( WP_Recovery_Mode_Cookie_Service $cookie_service, WP_Recovery_Mode_Key_Service $key_service ) #
WP_Recovery_Mode_Link_Service constructor.
Parameters
- $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.
Source
File: wp-includes/class-wp-recovery-mode-link-service.php
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; }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
5.2.0 | Introduced. |