Summery Summery
Clears the recovery mode cookie.
Syntax Syntax
Source Source
File: wp-includes/class-wp-recovery-mode-cookie-service.php
public function clear_cookie() { setcookie( RECOVERY_MODE_COOKIE, ' ', time() - YEAR_IN_SECONDS, COOKIEPATH, COOKIE_DOMAIN ); setcookie( RECOVERY_MODE_COOKIE, ' ', time() - YEAR_IN_SECONDS, SITECOOKIEPATH, COOKIE_DOMAIN ); }
Advertisement
Changelog Changelog
Version | Description |
---|---|
5.2.0 | Introduced. |