W3cubDocs

/WordPress

wp_is_recovery_mode()

Is WordPress in Recovery Mode.

Description

In this mode, plugins or themes that cause WSODs will be paused.

Return

(bool)

Source

File: wp-includes/load.php

function wp_is_recovery_mode() {
	return wp_recovery_mode()->is_active();
}

Changelog

Version Description
5.2.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/wp_is_recovery_mode