Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function bbg_save_extra_profile_data() {
- global $bp;
- update_user_meta( $bp->loggedin_user->id, 'my_category', $_POST['category'] );
- }
- add_action( 'xprofile_screen_edit_profile', 'bbg_save_extra_profile_data' );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement