Filters the date a post was published.
$the_datestring|int
$format is 'U' or 'G'.$formatstring
$postWP_Post
return apply_filters( 'get_the_date', $the_date, $format, $post );
| Version | Description |
|---|---|
| 3.0.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/get_the_date