Running into something a bit weird: When I try to get all the fields like so: $fields = get_fields() and print_r out the results, I’m getting all the values as I would expect from the first field, but the rest aren’t returning any of the values. In addition, the ones without values are also including the field key value, which (I think) the get_field() function isn’t supposed to do. In the scenario below, the amenities field is returning everything correctly but the rates field should have a value of “Our Rates” for the “heading” subfield.
What’s even weirder is that I can explicitly pull out a specific field with $field = $get_field('rates') as long as I request that before the get_fields() function. If I do so after get_fields(), it returns the same weird info as above.