WP_Recovery_Mode::is_active()
Checks whether recovery mode is active.
Description
This will not change after recovery mode has been initialized. WP_Recovery_Mode::run().
Return
(bool) True if recovery mode is active, false otherwise.
Source
File: wp-includes/class-wp-recovery-mode.php
public function is_active() {
return $this->is_active;
}
Changelog
Version | Description |
---|---|
5.2.0 | Introduced. |