当前浏览:首页 / WordPress钩子 / the_time

apply_filters( 'the_time', string $get_the_time, string $format )

过滤要显示的文章撰写时间

themore...

timemore...


参数

$get_the_time

(string) 格式化的时间。

$format

(string) 用于检索文章撰写时间的格式。接受“G”、“U”或PHP日期格式。



源码

查看源码 官方文档


更新日志

版本描述
0.71开始引入