Support

Account

Home Forums General Issues get_field_object returning wrong value

Solved

get_field_object returning wrong value

  • Hi,
    I am trying to get the all values for a select object. so I am using
    get_field_object('my_key')
    But instead of getting an array back I’m getting the value of 1. Is this an error that I am unaware of or I’m doing this wrong?

  • Pleas ignore, coding mistake on my end. ACf is doing just fine.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.