Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 23,840
- How-to & Troubleshooting
- 129,892
- Creating & Extending
- 25,913
- Requests & Feedback
- 9,553
- Third Party Plugins
- 9,834
- Showcase
- 3,316
- Ideas
- 1,404
- Miscellaneous
- 9,183
-
Use the ‘xprofile_updated_profile’ hook
function josh_profile_check( $user_id, $posted_field_ids, $errors ) {
/* check $posted_field_ids to see if one of the fields you are interested in has changed
if yes, then use bp_activity_add to add to activity stream
*/
}
add_action( 'xprofile_updated_profile', 'josh_profile_check', 10, 3 );