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



get_the_date › WordPress过滤钩子

Since3.0.0
已弃用n/a
apply_filters( 'get_the_date', $the_date, $format, $post )
参数: (3)
  • (string|int) $the_date Formatted date string or Unix timestamp if `$format` is 'U' or 'G'.
    Required: Yes
  • (string) $format PHP date format.
    Required: Yes
  • (WP_Post) $post The post object.
    Required: Yes
定义在:
文档:

Filters the date a post was published.





源码

return apply_filters( 'get_the_date', $the_date, $format, $post );