Skip to:
Content
Pages
Categories
Search
Top
Bottom

Updating avatar programtically

  • Avatar of msteudel
    msteudel
    Participant

    @msteudel

    Is there a function I can use to update a user’s avatar? From what I could find that avatar isn’t stored in the DB, and it’s just a file in the wp-content/uploads/avatars, but maybe there’s still a function I can do this with ….

Viewing 2 replies - 1 through 2 (of 2 total)
  • Avatar of @modemlooper
    @modemlooper
    Moderator

    @modemlooper

    bp_core_avatar_handle_upload()

    but it’s part of a larger sequence of functions and may not work properly on it’s own.

    look through plugins/buddypress/bp-core/bp-core-avatars.php

    Avatar of msteudel
    msteudel
    Participant

    @msteudel

    Thanks modernloop, I’ll take a look.

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.