I manage a user registration process (on a multisite WP).
However, some of my users can create new ones in a front page. If you look at this post you will find out the 3 stages for this:
wpmu_signup_user()to add an entry for a new (future) user in the signups table (you can keep WP from sending a notification mail at this stage, if desired, with the right hook)
- Use a SQL query to get the
activation_keygenerated in this entry of the signups table for this user
wpmu_activate_signup($key)to create an entry in the
This works fine, but once the user is created (with an entry in the
users table) I would need to delete that entry which still is in the signups table and is useless. Someone would know how to do this
wp_properly or should I make a delete query?