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



get_the_date ›

Since3.0.0
已弃用n/a
apply_filters( 'get_the_date', $the_date, $d, $post )
参数: (3)
  • (string) $the_date The formatted date.
    Required: Yes
  • (string) $d PHP date format. Defaults to 'date_format' option if not specified.
    Required: Yes
  • (int|WP_Post) $post The post object or ID.
    Required: Yes
定义在:
文档:

Filters the date a post was published.





源码

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