apply_filters( 'human_time_diff', string $since, int $diff, int $from, int $to )

Filters the human readable difference between two timestamps.

Description Description

Parameters Parameters


(string) The difference in human readable text.


(int) The difference in seconds.


(int) Unix timestamp from which the difference begins.


(int) Unix timestamp to end the time difference.

Top ↑

Source Source

File: wp-includes/formatting.php

View on Trac

Top ↑

Changelog Changelog

Version Description
4.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.