get_the_modified_date

过滤钩子
apply_filters( 'get_the_modified_date', $the_time, $format, $post )
参数
  • (string|int|false) $the_time The formatted date or false if no post is found.
    Required:
  • (string) $format PHP date format.
    Required:
  • (WP_Post|null) $post WP_Post object or null if no post is found.
    Required:
定义位置
相关勾子
get_the_modified_timethe_modified_datethe_modified_timeget_post_modified_timethe_modified_author
相关方法
get_the_modified_dateget_the_modified_timethe_modified_dateget_the_modified_authorthe_modified_timeget_post_modified_time
引入
4.6.0
弃用
-

get_the_modified_date: 这个函数检索当前文章最后修改的日期,根据WordPress的设置进行格式化。

过滤文章的最后修改日期。

return apply_filters( 'get_the_modified_date', $the_time, $format, $post );

常见问题

FAQs
查看更多 >
闪电侠

(工作日 10:00 - 18:30 为您服务)

2025-12-05 18:32:58

您好,无论是售前、售后、意见建议……均可通过联系工单与我们取得联系。

您也可选择聊天工具与我们即时沟通或点击查看:

您的工单我们已经收到,我们将会尽快跟您联系!
取消
选择聊天工具: