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



get_the_time ›

Desde1.5.0
Obsoleton/a
apply_filters( 'get_the_time', $the_time, $d, $post )
Parâmetros: (3)
  • (string) $the_time The formatted time.
    Required: Yes
  • (string) $d Format to use for retrieving the time the post was written. Accepts 'G', 'U', or php date format value specified in 'time_format' option. Default empty.
    Required: Yes
  • (int|WP_Post) $post WP_Post object or ID.
    Required: Yes
Definido em:
Codex:

Filters the time a post was written.





Fonte

return apply_filters( 'get_the_time', $the_time, $d, $post );