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



get_the_modified_time › WordPress过滤钩子

Since4.6.0
已弃用n/a
apply_filters( 'get_the_modified_time', $the_time, $format, $post )
参数: (3)
  • (string|int|false) $the_time The formatted time or false if no post is found.
    Required: Yes
  • (string) $format Format to use for retrieving the time the post was modified. Accepts 'G', 'U', or PHP date format.
    Required: Yes
  • (WP_Post|null) $post WP_Post object or null if no post is found.
    Required: Yes
定义在:
文档:

Filters the localized time a post was last modified.





源码

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