WP_Recovery_Mode_Cookie_Service::is_cookie_set(): bool
Checks whether the recovery mode cookie is set.
Contents
Return
bool True if the cookie is set, false otherwise.
Source
File: wp-includes/class-wp-recovery-mode-cookie-service.php
.
View all references
public function is_cookie_set() {
return ! empty( $_COOKIE[ RECOVERY_MODE_COOKIE ] );
}
Changelog
Version | Description |
---|---|
5.2.0 | Introduced. |