W3cubDocs

/WordPress

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;
	}

Changelog

Version Description
5.2.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_recovery_mode_link_service/__construct