apply_filters( 'get_comment_date', string|int $date , string $d , WP_Comment $comment )
Filters the returned comment date.
Description
Parameters
- $date
-
(string|int) Formatted date string or Unix timestamp.
- $d
-
(string) The format of the date.
- $comment
-
(WP_Comment) The comment object.
Source
Changelog
Version | Description |
---|---|
1.5.0 | Introduced. |
An example of filtering the comment date format:
Use the standard PHP date format characters: http://php.net/manual/en/function.date.php