WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about human_time_diff

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/formatting.php apply_filters 3858 /**
* Filters the human readable difference between two timestamps.
*
* @since 4.0.0
*
* @param string $since The difference in human readable text.
* @param int $diff The difference in seconds.
* @param int $from Unix timestamp from which the difference begins.
* @param int $to Unix timestamp to end the time difference.
*/

Hook Parameters

Parameter Type Name Description
string $since The difference in human readable text.
int $diff The difference in seconds.
int $from Unix timestamp from which the difference begins.
int $to Unix timestamp to end the time difference.