wpseek.com
A WordPress-centric search engine for devs and theme authors



get_comment_time › WordPress Filter Hooks

Since1.5.0
Deprecatedn/a
apply_filters( 'get_comment_time', $comment_time, $format, $gmt, $translate, $comment )
Parameters: (5)
  • (string|int) $comment_time The comment time, formatted as a date string or Unix timestamp.
    Required: Yes
  • (string) $format PHP 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', $comment_time, $format, $gmt, $translate, $comment );