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

Fires if the new avatar was successfully captured.


Description Description


Parameters Parameters

$item_id

Inform about the user id the avatar was set for.

$type

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

$avatar_data

Array of parameters passed to the avatar handler.


Top ↑

Source Source

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


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.