Search Blog

Remove white space from an ACF field

Handy for removing the spaces in telephone numbers…

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