wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



get_post_time › WordPress Filter Hooks

Da2.6.0
Deprecaton/a
apply_filters( 'get_post_time', $time, $format, $gmt )
Parametri: (3)
  • (string|int) $time Formatted date string or Unix timestamp if `$format` is 'U' or 'G'.
    Richiesto:
  • (string) $format Format to use for retrieving the time the post was written. Accepts 'G', 'U', or PHP date format.
    Richiesto:
  • (bool) $gmt Whether to retrieve the GMT time.
    Richiesto:
Definito a:
Codex:

Filters the localized time a post was written.





Sorgenti

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