A WordPress-centric search engine for devs and theme authors



get_comment_time ›

Since1.5.0
Deprecatedn/a
apply_filters( 'get_comment_time', $date, $d, $gmt, $translate, $comment )
Parameters: (5)
  • (string|int) $date The comment time, formatted as a date string or Unix timestamp.
    Required: Yes
  • (string) $d Date format.
    Required: Yes
  • (bool) $gmt Whether the GMT date is in use.
    Required: Yes
  • (bool) $translate Whether the time is translated.
    Required: Yes
  • (WP_Comment) $comment The comment object.
    Required: Yes
Defined at:
Codex:

Filters the returned comment time.





Source

return apply_filters( 'get_comment_time', $date, $d, $gmt, $translate, $comment );