Skip to:
Content
Pages
Categories
Search
Top
Bottom

Updating avatar programtically


  • 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)

  • 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


    msteudel
    Participant

    @msteudel

    Thanks modernloop, I’ll take a look.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Updating avatar programtically’ is closed to new replies.
Skip to toolbar