Summery Summery
Filters the life span of the post password cookie.
Syntax Syntax
Description Description
By default, the cookie expires 10 days from creation. To turn this into a session cookie, return 0.
Parameters Parameters
- $expires
-
The expiry time, as passed to setcookie().
Source Source
File: wp-login.php
Advertisement
Changelog Changelog
Version | Description |
---|---|
3.7.0 | Introduced. |