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