Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Activity Stream – “XYZ User has a new avatar”


paulhastings0
Participant

@paulhastings0

Or would that be:


function my_activity_avatar_changed() {

//then pass in whatever array args you want to the activity item
xprofile_record_activity( $user_id, $component );
echo ("$user_id->display_name has a new $component");
}
add_action(‘xprofile_avatar_uploaded’,'my_activity_avatar_changed’);

Skip to toolbar