Support

Account

Home Forums ACF PRO Using update_field with url type fields

Solving

Using update_field with url type fields

  • Is there any difference in updating text and url fields using update_field?
    I am successfully updating (non-repeater) text fields but when I add a url to a field which is of type Url, the field isn’t updated.

  • How are you updating the field?

    Is it in a repeater? asked because you mention repeaters.

    If you’re updating using code, does the field already have a value or are you updating a field that does not already have a value?

  • The answer is that there is no difference between populating text and url fields. This is regardless of whether it is in a repeater field.

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

The topic ‘Using update_field with url type fields’ is closed to new replies.