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)
  • () time Formatted date string or Unix timestamp if `$format` is 'U' or 'G'.
    Wymagane: Tak
  • () format Format to use for retrieving the date of the post. Accepts 'G', 'U', or PHP date format.
    Wymagane: Tak
  • () gmt Whether to retrieve the GMT time.
    Wymagane: Tak
Zobacz:
  • get_post_time()
Zdefiniowane na:
Codex:

Filters the localized time of the post.

The filtered value should match the type and values that `$format` produces, for example, an integer for 'U' or 'G', or a numeric string from '0' to '6' for 'w'.




Źródło

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