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)
  • () time Formatted date string or Unix timestamp if `$format` is 'U' or 'G'.
    Richiesto: Sì
  • () format Format to use for retrieving the date of the post. Accepts 'G', 'U', or PHP date format.
    Richiesto: Sì
  • () gmt Whether to retrieve the GMT time.
    Richiesto: Sì
Vedi:
  • get_post_time()
Definito a:
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'.




Sorgenti

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