Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-login.php | apply_filters | 731 | /** * Filters the life span of the post password cookie. * * By default, the cookie expires 10 days from creation. To turn this * into a session cookie, return 0. * * @since 3.7.0 * * @param int $expires The expiry time, as passed to setcookie(). */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
int | $expires | The expiry time, as passed to setcookie(). |