Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-includes/functions.php | apply_filters | 440 | /** * Filters the number formatted based on the locale. * * @since 2.8.0 * @since 4.9.0 The `$number` and `$decimals` parameters were added. * * @param string $formatted Converted number in string format. * @param float $number The number to convert based on locale. * @param int $decimals Precision of the number of decimal places. */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
string | $formatted | Converted number in string format. |
float | $number | The number to convert based on locale. |
int | $decimals | Precision of the number of decimal places. |