get_the_time

最后更新于:2021-11-27 00:08:48

apply_filters( ‘get_the_time’, string $the_time, string $format, int|GC_Post $post )

Filters the time a post was written.

参数

$the_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.

$post

(int|GC_Post)
GC_Post object or ID.

源文件

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

View on Trac