do_action( 'bp_members_avatar_uploaded', string $item_id, string $type, array $avatar_data )

Fires if the new avatar was successfully captured.


Parameters Parameters

$item_id

(string) Inform about the user id the avatar was set for.

$type

(string) Inform about the way the avatar was set ('camera').

$avatar_data

(array) Array of parameters passed to the avatar handler.


Source Source

File: bp-core/bp-core-avatars.php

View on Trac



Top ↑

Changelog Changelog

Changelog
Version Description
6.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.