apply_filters( 'get_the_time', string|int $the_time , string $format , WP_Post $post )
Filters the time a post was written.
Parameters
- $the_time
-
Formatted date string or Unix timestamp if
$formatis 'U' or 'G'. - $format
-
Format to use for retrieving the time the post was written. Accepts 'G', 'U', or PHP date format.
- $post
-
Post object.
Source
Changelog
| Version | Description |
|---|---|
| 1.5.0 | Introduced. |