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