Filter hook 'human_time_diff'

in WP Core File wp-includes/formatting.php at line 3936

Description

Filters the human-readable difference between two timestamps.

Occurrences

Filename Line Number
wp-includes/formatting.php 3936

Parameters

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.

PHP Doc

/**
	 * 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.
	 */