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



the_modified_date ›

Since2.1.0
已弃用n/a
apply_filters( 'the_modified_date', $the_modified_date, $d, $before, $after )
参数: (4)
  • (string) $the_modified_date The last modified date.
    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 last modified for display.





源码

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