OnProfileAvatarUpdate

Revision as of 18:46, 18 January 2013 by Sinisakrisan (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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 */
}