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



the_time › WordPress过滤钩子

Since0.71
已弃用n/a
apply_filters( 'the_time', get_the_time( $format )
参数: (2)
  • (string) $get_the_time The formatted time.
    Required: Yes
  • (string) $format Format to use for retrieving the time the post was written. 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( $format ), $format );