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



the_time › WordPress Filter Hooks

Since0.71
Deprecatedn/a
apply_filters( 'the_time', get_the_time( $format )
Parameters: (2)
  • (string) $get_the_time The formatted time.
    Required: Yes
  • (string) $format Format to use for retrieving the time the post was written. Accepts 'G', 'U', or PHP date format.
    Required: Yes
Defined at:
Codex:

Filters the time a post was written for display.





Source

echo apply_filters( 'the_time', get_the_time( $format ), $format );