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 on Trac

Changelog

Version Description
2.8.0 Introduced.

© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/comment_cookie_lifetime