WP_Recovery_Mode::exit_recovery_mode(): bool

In this article

Ends the current recovery mode session.

Return

bool True on success, false on failure.

Source

public function exit_recovery_mode() {
	if ( ! $this->is_active() ) {
		return false;
	}

	$this->email_service->clear_rate_limit();
	$this->cookie_service->clear_cookie();

	wp_paused_plugins()->delete_all();
	wp_paused_themes()->delete_all();

	return true;
}

Changelog

VersionDescription
5.2.0Introduced.

User Contributed Notes

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