Checks whether the recovery mode cookie is set.
(bool) True if the cookie is set, false otherwise.
File: wp-includes/class-wp-recovery-mode-cookie-service.php
public function is_cookie_set() { return ! empty( $_COOKIE[ RECOVERY_MODE_COOKIE ] ); }
Version | Description |
---|---|
5.2.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_recovery_mode_cookie_service/is_cookie_set