Remove spaces

If the word of someone on StackOverflow is correct, the above function will print the data field you requested, which would explain why it doesn’t matter what you do to it, and would explain your comment in #3 that it still outputs even if you remove the code that echoes it.

The same poster suggests using get_sub_field() instead, which returns it as a string (what you want to do) rather than just displaying it.

2 Likes