wpseek.com
Uma área de pesquisa sobre o WordPress para devs e autores do tema



get_post_time › Hooks de Filtros WordPress

Desde2.6.0
Obsoleton/a
› apply_filters( 'get_post_time', $time, $format, $gmt )
Parâmetros: (3)
  • () time Formatted date string or Unix timestamp if `$format` is 'U' or 'G'.
    Required: Yes
  • () format Format to use for retrieving the date of the post. Accepts 'G', 'U', or PHP date format.
    Required: Yes
  • () gmt Whether to retrieve the GMT time.
    Required: Yes
Ver:
  • get_post_time()
Definido em:
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'.




Fonte

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