apply_filters( 'get_the_date', string|int $the_date , string $format , WP_Post $post )
Filters the date a post was published.
Parameters
- $the_date
-
Formatted date string or Unix timestamp if
$format
is 'U' or 'G'. - $format
-
PHP date format.
- $post
-
The post object.
Source
Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |