Skip to:

Buddypress(9.0) Avatar Upload Hook issues

  • aliforty


    Hi all,

    I have recently upgraded to Buddypress 9.0 and an existing function hooked in uploading a new avatar no longer appears to be working. Could you let me know please what is the correct hook now? I looked through the supplied Actions & Hooks pdf, but no luck so far in trying those. I also searched for “Avatar hook” in the forums and no results unfortunately.

    *Wanted to note that the profile picture/avatar is being uploaded to WordPress correctly

    Here is how the function was being registered before:
    add_action( 'bp_members_avatar_uploaded', [self::class, 'UpdateAvatarToSalesforce'], 10, 3 );

    Here is the function prototype:

    public static function UpdateAvatarToSalesforce($item_id, $type, $avatar_data)

    Thank you in advance!

Viewing 1 replies (of 1 total)

  • aliforty


    Important followup notes:

    -BuddyPress is correctly processing, cropping, and uploading images to WordPress

    -These other plugins are also installed in the same server:

    BuddyPress Xprofile Custom Field Types: Version 1.1.9

    BuddyPress for Timber: Version 1.1

    BP Better Messages: Version

    bbPress: Version 2.6.6

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.
Skip to toolbar