Home Forums General Issues Multisite Update fields


Multisite Update fields

  • Hi,
    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 Example:

    $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.
    Any Idea?

  • My god, I can’t believe that the answer is this –
    functions.php had 3 extra blank lines at the end ?!

    • Elliot

    • August 27, 2013 at 2:21 pm

    Hi @innovinet

    Thanks for sharing your answer!

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

You must be logged in to reply to this topic.

We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Cookie Policy. If you continue to use this site, you consent to our use of cookies.