Поле ACF без пробелов
<?php echo str_replace(' ', '', get_field('your_field')); ?>
Doubtful Dugong
<?php echo str_replace(' ', '', get_field('your_field')); ?>