Support

Account

Home Forums General Issues Possible bug with get_field() Reply To: Possible bug with get_field()

  • Hi @icethrill

    Unfortunaltey, ACF needs to get past the init action for it to work (get_field / any api function)

    I’m hoping to find a work around in the future, but for now if you move your code within an action (init or later), then your value will work as expected!

    Sorry for the confusion.

    Cheers
    E