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.


Top ↑

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


Top ↑

Changelog

Changelog
VersionDescription
5.2.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.