Filters the date a post was published for display.
$the_datestring
$formatstring
$beforestring
$afterstring
$the_date = apply_filters( 'the_date', $the_date, $format, $before, $after );
| Version | Description |
|---|---|
| 0.71 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/the_date