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



get_post_modified_time › WordPress过滤钩子

Since2.8.0
已弃用n/a
apply_filters( 'get_post_modified_time', $time, $format, $gmt )
参数: (3)
  • (string|int) $time Formatted date string or Unix timestamp if `$format` is 'U' or 'G'.
    Required: Yes
  • (string) $format Format to use for retrieving the time the post was modified. Accepts 'G', 'U', or PHP date format. Default 'U'.
    Required: Yes
  • (bool) $gmt Whether to retrieve the GMT time. Default false.
    Required: Yes
定义在:
文档:

Filters the localized time a post was last modified.





源码

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