Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 23,859
- How-to & Troubleshooting
- 128,906
- Creating & Extending
- 25,742
- Requests & Feedback
- 9,445
- Third Party Plugins
- 9,773
- Showcase
- 3,317
- Ideas
- 1,389
- Miscellaneous
- 9,134
-
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’);
See also: WordPress.org • bbPress.org • BuddyPress.org • Matt • Blog RSS