WP_Recovery_Mode::is_initialized() WordPress Method

The WP_Recovery_Mode::is_initialized() function allows you to check whether the Recovery Mode has been initialized. This can be useful for plugin and theme developers who need to know whether their code is running in a Recovery Mode environment.

WP_Recovery_Mode::is_initialized() #

Checks whether recovery mode has been initialized.


Description

Recovery mode should not be used until this point. Initialization happens immediately before loading plugins.


Top ↑

Return

(bool)


Top ↑

Source

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

	public function is_initialized() {
		return $this->is_initialized;
	}


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.