WP_Recovery_Mode_Link_Service::__construct

Advertisement

Summery Summery

WP_Recovery_Mode_Link_Service constructor.

Syntax Syntax

WP_Recovery_Mode_Link_Service::__construct( WP_Recovery_Mode_Cookie_Service $cookie_service, WP_Recovery_Mode_Key_Service $key_service )

Parameters Parameters

$cookie_service

(Required) Service to handle setting the recovery mode cookie.

$key_service

(Required) Service to handle generating recovery mode keys.

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

Advertisement

Changelog Changelog

Changelog
Version Description
5.2.0 Introduced.

Advertisement

Leave a Reply