WordPress at a glance
function is not described

WP_Recovery_Mode_Cookie_Service::is_cookie_set() public WP 5.2.0

Checks whether the recovery mode cookie is set.

{} It's a method of the class: WP_Recovery_Mode_Cookie_Service{}

No Hooks.

Return

true/false. True if the cookie is set, false otherwise.

Usage

$WP_Recovery_Mode_Cookie_Service = new WP_Recovery_Mode_Cookie_Service();
$WP_Recovery_Mode_Cookie_Service->is_cookie_set();

Changelog

Since 5.2.0 Introduced.

Code of WP_Recovery_Mode_Cookie_Service::is_cookie_set() WP 5.5.1

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