get_post_time

最后更新于:2021-11-26 23:07:43

apply_filters( ‘get_post_time’, string $time, string $format, bool $gmt )

Filters the localized time a post was written.

参数

$time

(string)
The formatted time.

$format

(string)
Format to use for retrieving the time the post was written. Accepts ‘G’, ‘U’, or PHP date format. Default ‘U’.

$gmt

(bool)
Whether to retrieve the GMT time. Default false.

源文件

文件: gc-includes/general-template.php

View on Trac