Reply To: How to update avatar user meta?
I am not uploading any image I’m using a script that gets random users from a RESTFul API then register it as a user that’s all, in the API results I have a url of the avatar I use wp_download and other functions to upload the image from its URL, now I miss just the thing about attaching it to the user, I have all things settled.