wpseek.com
A WordPress-centric search engine for devs and theme authors



the_date › WordPress Filter Hooks

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

Filters the date a post was published for display.





Source

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