wpseek.com
WordPress开发者和主题制作者的搜索引擎



get_comment_time › WordPress过滤钩子

Since1.5.0
已弃用n/a
apply_filters( 'get_comment_time', $comment_time, $format, $gmt, $translate, $comment )
参数: (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
定义在:
文档:

Filters the returned comment time.





源码

return apply_filters( 'get_comment_time', $comment_time, $format, $gmt, $translate, $comment );