wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



get_post_time › Filtr WordPress Hooks

Od2.6.0
Przestarzałyn/a
apply_filters( 'get_post_time', $time, $format, $gmt )
Parametry: (3)
  • (string|int) $time Formatted date string or Unix timestamp if `$format` is 'U' or 'G'.
    Wymagane: Tak
  • (string) $format Format to use for retrieving the time the post was written. Accepts 'G', 'U', or PHP date format.
    Wymagane: Tak
  • (bool) $gmt Whether to retrieve the GMT time.
    Wymagane: Tak
Zdefiniowane na:
Codex:

Filters the localized time a post was written.





Źródło

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