Help creating custom Fields. Autoincrement+URL ?user=123
-
Hi, I’m starting to develop with WordPress and I’m using the Ultimate Member plugin for user management.
I need to create two new fields that are automatically filled when a new user registers:
1o. Internal code. This code will be a 6-digit incrementing numeral. If the last registered user was 000156, the new user should take the value 000157. This field has to be filled in automatically, it is not necessary for the user to see it on the screen
2o. Referral code. I need to capture the value of the ?user variable that comes through the call to the registration URL that will contain a variable of type user=123 (register/?user=123). I need the value 123 to be stored in a user field in the database so that I can later use that information.I don’t know if this will be possible with the UM plugin. I would appreciate your help. Thank you. Greetings
- The topic ‘Help creating custom Fields. Autoincrement+URL ?user=123’ is closed to new replies.