WP_Recovery_Mode::is_active
Checks whether recovery mode is active.
This will not change after recovery mode has been initialized. {@see WP_Recovery_Mode::run()}.
Method of the class: WP_Recovery_Mode{}
No Hooks.
Returns
true|false. True if recovery mode is active, false otherwise.
Usage
$WP_Recovery_Mode = new WP_Recovery_Mode(); $WP_Recovery_Mode->is_active();
Changelog
| Since 5.2.0 | Introduced. |
WP_Recovery_Mode::is_active() WP Recovery Mode::is active code WP 7.0.2
public function is_active() {
return $this->is_active;
}