get_comment_date WordPress Filter Hook
The get_comment_date hook is used to display the date a comment was made. This hook is used in the default comments template.
apply_filters( 'get_comment_date', string|int $date , string $format , WP_Comment $comment ) #
Filters the returned comment date.
Parameters
- $date
(string|int)Formatted date string or Unix timestamp.
- $format
(string)PHP date format.
- $comment
(WP_Comment)The comment object.
Source
Changelog
Version | Description |
---|---|
1.5.0 | Introduced. |