Description
Filters the lifetime of the comment cookie in seconds.
Occurrences
Filename | Line Number |
---|---|
wp-includes/comment.php | 564 |
Parameters
Type | Name | Description |
---|---|---|
int | $seconds | Comment cookie lifetime. Default YEAR_IN_SECONDS. |
PHP Doc
/**
* Filters the lifetime of the comment cookie in seconds.
*
* @since 2.8.0
* @since 6.6.0 The default $seconds value changed from 30000000 to YEAR_IN_SECONDS.
*
* @param int $seconds Comment cookie lifetime. Default YEAR_IN_SECONDS.
*/