A WordPress-centric search engine for devs and theme authors



the_date ›

Since0.71
Deprecatedn/a
apply_filters( 'the_date', $the_date, $d, $before, $after )
Parameters: (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
Defined at:
Codex:

Filters the date a post was published for display.





Source

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