WP_Recovery_Mode::__construct() WordPress Method

The WP_Recovery_Mode::__construct() method is used to initialize the recovery mode for a Wordpress site. This mode is used to allow administrators to recover their site from a variety of different situations, including accidental deletion of data, hacking, or server failure.

WP_Recovery_Mode::__construct() #

WP_Recovery_Mode constructor.


Source

File: wp-includes/class-wp-recovery-mode.php

	public function __construct() {
		$this->cookie_service = new WP_Recovery_Mode_Cookie_Service();
		$this->key_service    = new WP_Recovery_Mode_Key_Service();
		$this->link_service   = new WP_Recovery_Mode_Link_Service( $this->cookie_service, $this->key_service );
		$this->email_service  = new WP_Recovery_Mode_Email_Service( $this->link_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.