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



human_time_diff ›

Desde4.0.0
Obsoleton/a
apply_filters( 'human_time_diff', $since, $diff, $from, $to )
Parâmetros: (4)
  • (string) $since The difference in human readable text.
    Required: Yes
  • (int) $diff The difference in seconds.
    Required: Yes
  • (int) $from Unix timestamp from which the difference begins.
    Required: Yes
  • (int) $to Unix timestamp to end the time difference.
    Required: Yes
Definido em:
Codex:

Filters the human readable difference between two timestamps.





Hooks relacionados: the_time, user_can_richedit

Fonte

return apply_filters( 'human_time_diff', $since, $diff, $from, $to );