Filters the date of the post, for display.
$the_datestring$formatstring$beforestring$afterstringwp-includes/general-template.php:2695the_date() * * @param string $the_date The formatted date string. * @param string $format PHP date format. * @param string $before HTML output before the date. * @param string $after HTML output after the date. */ $the_date = apply_filters( 'the_date', $the_date, $format, $before, $after ); if ( $display ) { echo $the_date; } else { return $the_date; }Introduced in 0.71. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.