Recent

bsearch_number_format_i18n filter

bsearch_number_format_i18n

Filters the number formatted based on the locale.

Type: filter
Since: 2.4.0
Source: includes/util/class-helpers.php line 363

Parameters

TypeNameDescription
string$formattedConverted number in string format.
float$numberThe number to convert based on locale.
int$decimalsPrecision of the number of decimal places.

Usage

add_filter( 'bsearch_number_format_i18n', function($formatted, $number, $decimals) {
    // ...
    return $formatted;
} );