add_filter('acf/format_value/name=listing_price', 'fix_number', 10, 3);
function fix_number($value, $post_id, $field) {
$value = number_format($value);
return $value;
}
This is throwing an error in PHP greater than 7.4. Any way to make this work in 8.2 for example?