I have a very big multisite. And I got a request to enable option that multiple users can use the same email. I found a plugin “Allow Multiple Accounts” which doesn’t work properly. I should figure out some other solution for that. I know that I could use something like adding +sometext to every email, so it will show different to WordPress. Do you have some other solution, that can be done here?
Leave a Reply
You must be logged in to post a comment.
You can use
wpmu_validate_user_signup
filter to remove the error and then defineWP_IMPORTING
just to skip theemail_exist()
check inwp_insert_user()
function:UPDATE: for a non Multi-site setup try this code:
You can you use the Gmail alias feature:
and so on.
All emails will be delivered to the same address (email@gmail.com).
Inside Gmail, you can distinguish the emails using a filter or a search.
For example, searching for
to:email+1@gmail.com
will show only the emails related to the first WordPress account.This solution should not break the “Reset password” workflow in WordPress.