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



the_time ›

Since0.71
已弃用n/a
apply_filters( 'the_time', get_the_time( $d )
参数: (2)
  • (string) $get_the_time The formatted time.
    Required: Yes
  • (string) $d The time format. Accepts 'G', 'U', or php date format.
    Required: Yes
定义在:
文档:

Filters the time a post was written for display.





源码

echo apply_filters( 'the_time', get_the_time( $d ), $d );