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



get_comment_time › WordPress过滤钩子

Since1.5.0
已弃用n/a
› apply_filters( 'get_comment_time', $comment_time, $format, $gmt, $translate, $comment )
参数: (5)
  • () comment_time The comment time, formatted as a date string or Unix timestamp. False on failure.
    Required: Yes
  • () format PHP date format.
    Required: Yes
  • () gmt Whether the GMT date is in use.
    Required: Yes
  • () translate Whether the time is translated.
    Required: Yes
  • () comment The comment object.
    Required: Yes
定义在:
文档:

Filters the returned comment time.





源码

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