函数原型
comment_time( string $format = ” )
函数描述
Displays the comment time of the current comment.
是否弃用
未弃用
函数参数
-
$format
string
Optional - PHP time format. Defaults to the
'time_format'option.Default:
''
函数返回值
无
函数位置
File: wp-includes/comment-template.php.
函数源码
function comment_time( $format = '' ) {
echo get_comment_time( $format );
}
源码链接
变更日志
| Version | Description |
|---|---|
| 0.71 | Introduced. |

