Modify user creation process
-
Hi,
I need to pass some meta data while creating user with S2member.
Before registration user fills some data and I would like to pass this chunks of data to the user_meta field in database.
For logged users I used this code :
if ( isset($_REQUEST) ) { $schedule = $_REQUEST[schedule]; $user_id = get_current_user_id( ); update_user_meta( $user_id, 'scheduledata', $schedule ); }
How can I modify creation process to assign specific data to the user? Or maybe I can create user with s2member and later edit his user_meta ?
Any ideas ?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Modify user creation process’ is closed to new replies.