Wordpress 钩子:number_format_i18n
文章目录
过滤基于区域设置格式化的数字。
原型
apply_filters( 'number_format_i18n', string $formatted, float $number, int $decimals )
参数
$formatted
(string)
以字符串格式转换的数字。
$number
(float)
要根据区域设置进行转换的数字。
$decimals
(int)
精度小数位数。
源文件
路径:wp-includes/functions.php
其他
英文文档:https://developer.wordpress.org/reference/hooks/number_format_i18n/
文章作者 iBllex
上次更新 2019-02-15