get_comment_date filter-hook . WP 1.5.0
Filters the returned comment date.
Usage
add_filter( 'get_comment_date', 'filter_function_name_3189', 10, 3 ); function filter_function_name_3189( $date, $d, $comment ){ // filter... return $date; }
- $date(string/int)
- Formatted date string or Unix timestamp.
- $d(string)
- The format of the date.
- $comment(WP_Comment)
- The comment object.
Where the hook is called
get_comment_date
wp-includes/comment-template.php 554
return apply_filters( 'get_comment_date', $date, $d, $comment );