Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



human_time_diff ›

Seit4.0.0
Veraltetn/v
apply_filters( 'human_time_diff', $since, $diff, $from, $to )
Parameter: (4)
  • (string) $since The difference in human readable text.
    Erforderlich: Ja
  • (int) $diff The difference in seconds.
    Erforderlich: Ja
  • (int) $from Unix timestamp from which the difference begins.
    Erforderlich: Ja
  • (int) $to Unix timestamp to end the time difference.
    Erforderlich: Ja
Definiert in:
Codex:

Filters the human readable difference between two timestamps.





Ähnliche Hooks: the_time, user_can_richedit

Quellcode

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