SHARE
TWEET

Untitled

a guest Jul 17th, 2010 131 Never
  1. function bbg_save_extra_profile_data() {
  2.         global $bp;
  3.        
  4.         update_user_meta( $bp->loggedin_user->id, 'my_category', $_POST['category'] ); 
  5. }
  6. add_action( 'xprofile_screen_edit_profile', 'bbg_save_extra_profile_data' );
RAW Paste Data
Top