过滤帖子写入的时间。
原型
apply_filters( 'get_the_time', string $the_time, string $d, int|WP_Post $post )
参数
$the_time
(string)
格式化的时间。
$d
(string)
用于检索帖子写入时间的格式。接受’time_format’选项中指定的’G’,‘U’或php日期格式值。默认为空。
$post
(int|WP_Post)
WP_Post对象或ID。
源文件
路径:wp-includes/general-template.php
其他
英文文档:https://developer.wordpress.org/reference/hooks/get_the_time/