human_time_diff
最后更新于:2021-11-27 00:54:26
apply_filters( ‘human_time_diff’, string $since, int $diff, int $from, int $to )
Filters the human readable difference between two timestamps.
参数
- $since
-
(string)
The difference in human readable text. - $diff
-
(int)
The difference in seconds. - $from
-
(int)
Unix timestamp from which the difference begins. - $to
-
(int)
Unix timestamp to end the time difference.
源文件
文件: gc-includes/formatting.php