WP_Recovery_Mode_Cookie_Service::is_cookie_set(): bool

In this article

Checks whether the recovery mode cookie is set.

Return

bool True if the cookie is set, false otherwise.

Source

public function is_cookie_set() {
	return ! empty( $_COOKIE[ RECOVERY_MODE_COOKIE ] );
}

Changelog

VersionDescription
5.2.0Introduced.

User Contributed Notes

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