wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



get_post_time › WordPress Filter Hooks

Seit2.6.0
Veraltetn/v
apply_filters( 'get_post_time', $time, $format, $gmt )
Parameter: (3)
  • (string|int) $time Formatted date string or Unix timestamp if `$format` is 'U' or 'G'.
    Erforderlich: Ja
  • (string) $format Format to use for retrieving the time the post was written. Accepts 'G', 'U', or PHP date format.
    Erforderlich: Ja
  • (bool) $gmt Whether to retrieve the GMT time.
    Erforderlich: Ja
Definiert in:
Codex:

Filters the localized time a post was written.





Quellcode

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