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