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



the_date › WordPress过滤钩子

Since0.71
已弃用n/a
apply_filters( 'the_date', $the_date, $format, $before, $after )
参数: (4)
  • (string) $the_date The formatted date string.
    Required: Yes
  • (string) $format PHP date format.
    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, $format, $before, $after );