A WordPress-centric search engine for devs and theme authors



get_post_time ›

Since2.6.0
Deprecatedn/a
apply_filters( 'get_post_time', $time, $d, $gmt )
Parameters: (3)
  • (string) $time The formatted time.
    Required: Yes
  • (string) $d Format to use for retrieving the time the post was written. Accepts 'G', 'U', or php date format. Default 'U'.
    Required: Yes
  • (bool) $gmt Whether to retrieve the GMT time. Default false.
    Required: Yes
Defined at:
Codex:

Filters the localized time a post was written.





Source

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