OnProfileAvatarUpdate

Description

This event will be triggered when the avatar is being updated; successfully or not. The plugin may make use of the image file path obtained from the parameters.

Params

An array with three items; user id, avatar's old file path and avatar's new file path.

Array
(
    [0] => 1,
    [1] => '', /* old file path*/
    [2] => '' /* new file path*/
)


Example

function onProfileAvatarUpdate( $arrItems ) 
{
    /* perform your avatar file path manipulation handler here */
}