wpseek.com
A WordPress-centric search engine for devs and theme authors



human_time_diff › WordPress Filter Hooks

Since4.0.0
Deprecatedn/a
apply_filters( 'human_time_diff', $since, $diff, $from, $to )
Parameters: (4)
  • () since The difference in human-readable text.
    Required: Yes
  • () diff The difference in seconds.
    Required: Yes
  • () from Unix timestamp from which the difference begins.
    Required: Yes
  • () to Unix timestamp to end the time difference.
    Required: Yes
Defined at:
Codex:

Filters the human-readable difference between two timestamps.





Related Hooks: the_time, user_can_richedit

Source

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