apply_filters( ‘the_date’, string $the_date, string $format, string $before, string $after )

In this article

Filters the date a post was published for display.

Parameters

$the_datestring
The formatted date string.
$formatstring
PHP date format.
$beforestring
HTML output before the date.
$afterstring
HTML output after the date.

Source

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

Changelog

VersionDescription
0.71Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.