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



the_date ›

Since0.71
已弃用n/a
apply_filters( 'the_date', $the_date, $d, $before, $after )
参数: (4)
  • (string) $the_date The formatted date string.
    Required: Yes
  • (string) $d PHP date format. Defaults to 'date_format' option if not specified.
    Required: Yes
  • (string) $before HTML output before the date.
    Required: Yes
  • (string) $after HTML output after the date.
    Required: Yes
定义在:
文档:

Filters the date a post was published for display.





源码

$the_date = apply_filters( 'the_date', $the_date, $d, $before, $after );