Campo ACF sem espaços

<?php echo str_replace(' ', '', get_field('your_field')); ?>
Doubtful Dugong