wp_is_recovery_mode() – Is WordPress in Recovery Mode.

You appear to be a bot. Output may be restricted

Description

Is WordPress in Recovery Mode.

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

Usage

$bool = wp_is_recovery_mode();

Parameters

Returns

bool

Source

File name: wordpress/wp-includes/load.php
Lines:

1 to 3 of 3
function wp_is_recovery_mode() {
  return wp_recovery_mode()->is_active();
}
 

 View on GitHub View on Trac