[Resolved] [Plugin: Profile Builder] Save the new fields in the registration process
Hi…my compliments for the plugin. I need to modify it, so I’ve added few code lines in the plugin-files to register more informations on the user profile.
But I’m having a great problem :
It can’t save the extra information added in the registration process, while if a user after the registration goes to modify the profile and fill the same extra information and update the information are saved!
I’ve seen in the wppb-front-end-register the call wp_insert_user( $userdata) and I’ve seen in the wordpress codex that the function wp_update_user( $userdata ) is the right function to add new profile informations, even if those doesn’t exist before.
So I’ve written :
$user = wp_insert_user( $userdata );
$update = wp_update_user( array ( ‘ID’ => $user, ‘Information_1’ => ‘value’, ‘Information_2’ => ‘value’ , [..etc..] ) );
But it doesn’t work! 🙁
Thank you for the attention.
- The topic ‘[Resolved] [Plugin: Profile Builder] Save the new fields in the registration process’ is closed to new replies.