Support

Account

Home › Forums › General Issues › get_field_object in loop only returns first object, then Null › Reply To: get_field_object in loop only returns first object, then Null

  • Try changing
    $field_value = get_field_object($field[‘name’]);

    To:
    $field_value = get_field_object('my_field');

    Ensure you set my_field to the name of the actual ACF field