A WordPress-centric search engine for devs and theme authors



wp_recovery_mode ›

Since5.2.0
Deprecatedn/a
wp_recovery_mode ( No parameters )
Returns:
  • (WP_Recovery_Mode)
Defined at:
Codex:

Access the WordPress Recovery Mode instance.



Source

function wp_recovery_mode() {
	static $wp_recovery_mode;

	if ( ! $wp_recovery_mode ) {
		$wp_recovery_mode = new WP_Recovery_Mode();
	}

	return $wp_recovery_mode;
}