W3cubDocs

/WordPress

WP_Recovery_Mode::is_active(): bool

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

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

Changelog

Version Description
5.2.0 Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_recovery_mode/is_active