Support

Account

Home Forums General Issues Unable to update Users ACF fields (WP REST)

Unread

Unable to update Users ACF fields (WP REST)

  • Hi Everyone,

    We are currently developing an application under vue-cli that get and post datas from the WordPress Rest API with ACF and ACF Pro.

    Everything works fine, but we are unable to update user ACFs fields.

    That’s what we do :

    let postData = {
        'fields': { // ACF fields
            'test' : ‘test123’
        },
    };
    
    HTTP.post('/wp/v2/users/' + this_.id, postData, {
        headers: {
            'X-WP-Nonce': NONCE,
            'Authorization': 'Bearer ' + this_.token
        }
    })

    It would be cool if someone could help us solve this problem

    Brest regards,

    Loïc

Viewing 1 post (of 1 total)

The topic ‘Unable to update Users ACF fields (WP REST)’ is closed to new replies.