WP_Recovery_Mode_Link_Service::__construct
WP_Recovery_Mode_Link_Service constructor.
Method of the class: WP_Recovery_Mode_Link_Service{}
No Hooks.
Returns
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() WP Recovery Mode Link Service:: construct code WP 7.0
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;
}