both this method is working, the value is saved to acf owner_id, owner_id is an acf user field type.
The issue is on wp_safe_redirect or redirect. After the value saved to acf field, the page will redirect, where on target url, the acf user type defined as dropdown. But the selected value is not set on the dropdown, thus the current user is not selected.
However, with same url (redirect), load the page, the acf field is working properly. Is anyone encounter this issue before?
With Text field, no problem.
Viewing 1 post (of 1 total)
You must be logged in to reply to this topic.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users