WordPress at a glance
function is not described

WP_Recovery_Mode::is_active() public WP 5.2.0

Checks whether recovery mode is active.

This will not change after recovery mode has been initialized. {@see WP_Recovery_Mode::run()}.

{} It's a method of the class: WP_Recovery_Mode{}

No Hooks.

Return

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.

Code of WP_Recovery_Mode::is_active() WP 5.5.1

<?php
public function is_active() {
	return $this->is_active;
}