WordPress at a glance
filter is not described

number_format_i18n filter-hook . WP 2.8.0

Filters the number formatted based on the locale.


add_filter( 'number_format_i18n', 'filter_function_name_8150', 10, 3 );
function filter_function_name_8150( $formatted, $number, $decimals ){
	// filter...

	return $formatted;
Converted number in string format.
The number to convert based on locale.
Precision of the number of decimal places.

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

С версии 2.8.0 Введена.
С версии 4.9.0 The $number and $decimals parameters were added.

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

wp-includes/functions.php 427
return apply_filters( 'number_format_i18n', $formatted, $number, $decimals );

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

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