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.
Return
(bool)
Source
File: wp-includes/class-wp-recovery-mode.php
public function is_initialized() { return $this->is_initialized; }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
5.2.0 | Introduced. |