WordPress开发者和主题制作者的搜索引擎



get_post_modified_time ›

Since2.8.0
已弃用n/a
apply_filters( 'get_post_modified_time', $time, $d, $gmt )
参数: (3)
  • (string) $time The formatted time.
    Required: Yes
  • (string) $d The date format. Accepts 'G', 'U', or php date format. Default 'U'.
    Required: Yes
  • (bool) $gmt Whether to return the GMT time. Default false.
    Required: Yes
定义在:
文档:

Filters the localized time a post was last modified.





源码

return apply_filters( 'get_post_modified_time', $time, $d, $gmt );