wpseek.com
WordPress开发者和主题制作者的搜索引擎
the_time › WordPress Function
Since0.71
已弃用n/a
› the_time ( $format = '' )
| 参数: |
|
| 定义在: |
|
| 文档: |
Displays the time of the post.
源码
function the_time( $format = '' ) {
/**
* Filters the time of the post, for display.
*
* @since 0.71
*
* @param string $get_the_time The formatted time.
* @param string $format Format to use for retrieving the time the post
* was written. Accepts 'G', 'U', or PHP date format.
*/
echo apply_filters( 'the_time', get_the_time( $format ), $format );
}