WordPress at a glance
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_160', 10, 4 );
function filter_function_name_160( $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.

Список изменений

С версии 4.0.0 Введена.

Где вызывается хук

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

Где используется хук в ядре WordPress

Использование не найдено.