Skip to:
Content
Pages
Categories
Search
Top
Bottom

save or update avatar action hook

  • Avatar of ghostwheelie
    Jon
    Member

    @ghostwheelie

    Is there a hook available for when a user updates their avatar? In the docs, I see the action bp_core_avatar_save listed in bp-core/bp-core-avatars.php. However, I don’t see a do_action call for that hook in the file. As a matter of fact, I don’t see a do_action call to any of the actions listed under bp-core/bp-core-avatars.php. The only one I see is bp_core_delete_existing_avatar (line 244).

    Anyway, is there any way to hook into this action?

    I’m running BuddyPress 1.2.4.1

Viewing 1 replies (of 1 total)
  • Avatar of ghostwheelie
    Jon
    Member

    @ghostwheelie

    After a fair amount of digging around, I found what I needed. There’s an action hook for xprofile_avatar_uploaded in bp-xprofile.php (line 392).

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.