WP_Recovery_Mode_Cookie_Service::clear_cookie()
Clears the recovery mode cookie.
Description Description
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 ); }
Expand full source code Collapse full source code View on Trac
Changelog Changelog
Version | Description |
---|---|
5.2.0 | Introduced. |