过滤上次修改帖子的本地化时间。
原型
apply_filters( 'get_the_modified_time', string|bool $the_time, string $d, WP_Post|null $post )
参数
$the_time
(string|bool)
格式化的时间,如果没有找到帖子,则为false。
$d
(string)
用于检索帖子写入时间的格式。接受’G’,‘U’或php日期格式。默认为’time_format’选项中指定的值。
$post
(WP_Post|null)
WP_Post对象,如果没有找到帖子,则返回null。
源文件
路径:wp-includes/general-template.php
其他
英文文档:https://developer.wordpress.org/reference/hooks/get_the_modified_time/