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_6446', 10, 3 );
function filter_function_name_6446( $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.


  • Since 4.9.0 The $number and $decimals arguments were added.

Where the hook is called

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

Where the hook is used (in WP core)

Does not used.