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
File: wp-includes/load.php
.
View all references
function wp_is_recovery_mode() {
return wp_recovery_mode()->is_active();
}
Changelog
Version | Description |
---|---|
5.2.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.
When debugging, use these can be handful when you want to warn users that site is experiencing some problems !