I don’t know if it’s any worth, but perhaps you can use the multisite specific activation function, wpmu_activate_signup, as a reference point to get an idea how to handle verification in WordPress. Multisite uses the special wp_signups
table to store users waiting for activation. So you might need to create a custom database table, if you want to do something similar.
Another option could be that you assign new users to a custom role, e.g. user_pending, and store the activation key to the user meta. Then use wp_mail()
to send an email with a verification link to the user. And after verification assign the user to proper role. Some kind of cleanup function might be also needed to delete unverified user accounts.
Related Posts:
- Disable user registration password email
- How do I customise the new user welcome email
- User Without Email?
- Allow Duplicate Email Address for Different Users
- Email confirmation on registration
- Email as Username in registration
- Handle registrations in WordPress when user doesn’t have any email?
- Email notification after registration in WordPress
- wordpress do not let user registered with info@ email and other reserved emails to get registered by users
- How do I make WordPress send an email to the user when his account gets approved (manual by me)
- User registration email and let user choose pasword
- 2 Email addresses for each user
- Script or plugin to send activation email automatically again after 2 hours
- how to email username and password to admin of new registration
- WordPress Won’t Send Email When a User Register
- Programming WordPress to Send an Email on Registration Form Submit?
- How do I troubleshoot registration/password email errors?
- Auto Log In Users after registration and send confirmation email
- Send email for confirmation during user registration
- User Without Email?
- Check if “Send the new user an email about their account” is ticked
- WP Mail isn’t sending user account messages, does send from plugins
- User Registration – no Email required
- Get emails of register user in WordPress
- Duplicate notifications for new user registration
- Allowing Loading/Downloading of .mp3
- Create WP account from an external email form submission?
- Allow users to register as a higher role than default with code
- Email validation in Ruby on Rails?
- Do something after sending email
- How to set up User email verification after Signup?
- Disable new user notification to admin email
- Create custom welcome email without a plugin
- Mail isn’t sent after local site registration
- Send a confirmation of user role upgrade conditionally
- Dynamically send pdf attached to post with contact form 7 [closed]
- Should I use the standard wp_mail() function for a premium theme?
- How to Configure SMTP on wordpress Cant Send Email
- Contact Form 7 + Configure SMTP: Sender email appearing as my own email [closed]
- How to add line breaks to $email[‘body’] when using auto_core_update_email hook
- apostrophe in email name
- User invite email not delivered – related to subdomain?
- Can I configure WordPress to use postfix without a plugin?
- Ability to download only after email supplied [closed]
- How to validate website field in contact form 7?
- How to Change WooCommerce new order email?
- How to change WordPress email notification sender?
- PHP mail() works but wp_mail() does not
- How to change the Customer new account email
- Sending emptys emails every day, How stop it?
- Share pdf with a friend via email [closed]
- How to change the default mail when admin approuved an user?
- Emails not getting delivered to Hotmail addresses
- Email user on WordPress upgrade
- Prevent sending emails on user creation in OOP context?
- WordPress get_the_content losing formatting when emailed
- Retrieve duration since sign up
- Send email when publish new post in certain categories
- Downloadable content only for subscribers?
- Is it possible to not receive email notifications for comments?
- Automatically email daily archive
- Changing wordpress admin email [closed]
- Send clear password via mail
- WordPress email could not be sent
- Sending new registration meta values to admin by email
- How to prevent the scheduling of the same event on the same day
- Is there a way to follow a WordPress site by email alerts for new posts? [closed]
- Resend password chosen by WP administrator? [duplicate]
- Changing old email to new email, lost the password
- Images in wp_mail not showing
- Alternative to email notification system?
- Why would it take four reset password attempts to finally get the e-mail?
- phpmailer reply to message id using AddCustomHeader
- WordPress WooCommerce email notifications going to spam folder
- Life after Feedburner and their email subscription
- Email Notify author of posts if content is out of date (older than 6 months)
- Remove wpautop from retrieve_password_message
- Use [from-email] from the contact form as sender’s email
- WordPress won’t let me change my administration email address
- wp_mail send multiple emails in a loop
- How to send Woocommerce Customer Details (Name, Email and Phone Number) to Admin upon signup
- Can’t change headers / From for wp_mail()
- How to customize ‘WordPress’ in sent email using wp_mail function?
- How can I send an email to a user when a post in their category changes
- Notification Email Address not changing
- Custom Welcome Email | WordPress
- How to Enable registration email for a custom user role?
- Contact forms not sending mails
- is_email() function Not Validating within Foreach Loop
- Garbled Code added to Email Field at ‘Quick Edit’ comment screen
- Can we validate user email changes?
- Is there a way to get the site_url in HTML code?
- Woo-Commerce Send mail by code. [closed]
- What’s the simplest way to send WordPress posts to a Mailchimp list? [closed]
- Having Issue on Receiving Emails From @Gmail.com or @Yahoo. in WordPress Using PHP Mail Function
- Fighting Spam – What can I do as an: Email Administrator, Domain Owner, or User?
- How to add verification on email address change?
- Only Admin receives email
- Is there a wordpress function restrict public email id for registration like as is_email()
- What’s the optimum way to collect users’ email id?