add_filter('acf/format_value/name=stock_verkoopprijs', 'fix number', 20, 3); function fix_number ($value, $post_id, $field) { $value = number_format($value); return $value; }