• I want to create a unique code that is attached to each user account. It needs to be 10 character long and should contain a mix of uppercase letters and numbers.

    The code should be generated as soon as the user has registered and linked to their account.

    I guess I could hash the wordpress generated userid and their email address to get a unique code but where would I put this code and how can I put it into the database with the users account?

  • The topic ‘Creating a unique code for each user’ is closed to new replies.