The problem not it wp hook,
the_field() displays the value of a specific field, so you need to use get_field() instead, which returns a value.
The problem not it wp hook,
the_field() displays the value of a specific field, so you need to use get_field() instead, which returns a value.