wpseek.com
A WordPress-centric search engine for devs and theme authors



get_post_time › WordPress Filter Hooks

Since2.6.0
Deprecatedn/a
apply_filters( 'get_post_time', $time, $format, $gmt )
Parameters: (3)
  • (string|int) $time Formatted date string or Unix timestamp if `$format` is 'U' or 'G'.
    Required: Yes
  • (string) $format Format to use for retrieving the time the post was written. Accepts 'G', 'U', or PHP date format.
    Required: Yes
  • (bool) $gmt Whether to retrieve the GMT time.
    Required: Yes
Defined at:
Codex:

Filters the localized time a post was written.





Source

return apply_filters( 'get_post_time', $time, $format, $gmt );