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



get_the_time › WordPress Filter Hooks

Since1.5.0
Deprecatedn/a
apply_filters( 'get_the_time', $the_time, $format, $post )
Parameters: (3)
  • (string|int) $the_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
  • (WP_Post) $post Post object.
    Required: Yes
Defined at:
Codex:

Filters the time a post was written.





Source

return apply_filters( 'get_the_time', $the_time, $format, $post );