Filters the human-readable difference between two timestamps.
$sincestring
$diffint
$fromint
$toint
return apply_filters( 'human_time_diff', $since, $diff, $from, $to );
| Version | Description |
|---|---|
| 4.0.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/human_time_diff