Working with ACF in Multisite installation.
i am trying to enable updating a field value on different users sites. this works good for standard fields, but not working with advanced custom fields.
What I did:
created a user fields group, and successfully pulling and showing custom fields from that group. but not being able to update.
$field_value = "user-address";
$value = "some address";
$user = "user_userID";
update_field($field_value, $value, $user)
This is what I got from the docs but fields are not getting updated.
My god, I can’t believe that the answer is this –
functions.php had 3 extra blank lines at the end ?!
Thanks for sharing your answer!