Function to handle avatar image uploads?
-
Hello,
I wrote my own page(in the wp admin section through a plugin) that has a form for the user to upload their avatar image. I copied some of the form input/structure over from the change-avatar.php. But now I still can’t seem to find the function that handles the uploaded file through $_FILES.I tried xprofile_screen_change_avatar() but it doesn’t do anything. And I tried bp_core_avatar_handle_upload() but it returns true even though the avatar hasn’t been stored in the uploads folder and it wasn’t changed from the previous avatar.
I’m really stumped on this, so I hope someone can help.
- The topic ‘Function to handle avatar image uploads?’ is closed to new replies.