WP_Recovery_Mode::is_active()publicWP 5.2.0

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.

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.

WP_Recovery_Mode::is_active() code WP 6.5.2

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