WordPress at Your Fingertips
filter is not described

human_time_diff filter-hook . WP 4.0.0

Filters the human readable difference between two timestamps.


add_filter( 'human_time_diff', 'filter_function_name_5522', 10, 4 );
function filter_function_name_5522( $since, $diff, $from, $to ){
	// filter...

	return $since;
The difference in human readable text.
The difference in seconds.
Unix timestamp from which the difference begins.
Unix timestamp to end the time difference.

Where the hook is called

wp-includes/formatting.php 3799
return apply_filters( 'human_time_diff', $since, $diff, $from, $to );

Where in WP core the hook is used WordPress

Usage not found.