apply_filters( 'get_the_date', string $the_date, string $format, int|WP_Post $post )
Filters the date a post was published.
Parameters
- $the_date
-
(string) The formatted date.
- $format
-
(string) PHP date format.
- $post
-
(int|WP_Post) The post object or ID.
Source
Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/get_the_date