apply_filters( 'comment_cookie_lifetime', int $seconds )
Filters the lifetime of the comment cookie in seconds.
Parameters
-
$seconds
int -
Comment cookie lifetime. Default 30000000.
Source
File: wp-includes/comment.php
.
View all references
$comment_cookie_lifetime = time() + apply_filters( 'comment_cookie_lifetime', 30000000 );
Changelog
Version | Description |
---|---|
2.8.0 | Introduced. |