wp_is_recovery_mode(): bool

Determines whether WordPress is in Recovery Mode.

Description

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

Return

bool

Source

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

Changelog

VersionDescription
5.2.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.