Tag Info

New answers tagged

1

You can't really eliminate usernames, they are an essential part of Wordpress core. The best you could do was create a custom form and then save the data to the DB using the built-in fields. For example, you could set the email they enter to equal both the email and the username field so both are the same. I would suggest creating your own form and then ...


1

I see a few possibilities. When you generate the emails (I don't know how you are doing this but we'll skip that), register an user for each email generated. Then track the user logins. If, after a week or so, the user has not logged in, delete the user. When you generate the emails, generate keys and store them in the $wpdb->options table. Your email ...


0

If you want to create custom register page then you use in wp-users Table wp_create_user(); It will create the user and if you want to add custom field then save that field data in wp-usermeta table using update_user_meta(); and last if you want to add role to the user then use $u = new WP_User( $user_ID); $role_of_user= $u->roles[0]; ...



Top 50 recent answers are included