Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: Adding xprofile data in my Activity Stream

@shanebp

Moderator

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 );

bp_activity_add

Skip to toolbar