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



get_post_time ›

Seit2.6.0
Veraltetn/v
apply_filters( 'get_post_time', $time, $d, $gmt )
Parameter: (3)
  • (string) $time The formatted time.
    Erforderlich: Ja
  • (string) $d Format to use for retrieving the time the post was written. Accepts 'G', 'U', or php date format. Default 'U'.
    Erforderlich: Ja
  • (bool) $gmt Whether to retrieve the GMT time. Default false.
    Erforderlich: Ja
Definiert in:
Codex:

Filters the localized time a post was written.





Quellcode

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