Checks whether the recovery mode cookie is set.

Return Return

(bool) True if the cookie is set, false otherwise.

Top ↑

Source Source

File: wp-includes/class-wp-recovery-mode-cookie-service.php

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

Top ↑

Changelog Changelog

Version Description
5.2.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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