5

Please note I'm not posting this question without doing google search, but the problem is every single result I found is either about BuddyPress or WP Multisite, but I have a WP Single installation where I use Easy Digital Download and in terms to purchase anything user must have to register first.

But the problem is their account doesn't get activated after registering if they visit customer dashboard it will show up that "Your account is not verified yet so check your email and verify". This is really frustrating for most of my customers as people are so busy now a days and does not have time for these things. After registration user receives email like this - http://puu.sh/kv9fv/9b63ea34f6.jpg

So what I'm asking here is there any way bu which I can remove this step so that accounts get activated just after register. No need to to email verification. That's all I wanna know.

Hope to get a reply soon.

0

Yes, you can write your own user registration, write a form that gets user details and use wp_create_user to create it.

That said, I think email verification is even more important on eCommerce sites, but if you willing to give up the advantages it gives to you and the users, then why not to bypass the whole user registration thing?

Another option is to use SSO provider like facebook and google to make the user creation process faster (you basically rely on them to supply you the current email address of the user).

  • is there no other process? No way to disable the email verification without doing such hassle? I know the benefits of it but I don't need it. Is there no simple way to doing that? Like calling some filter or actions and return false ? – iSaumya Oct 2 '15 at 7:54
  • sure, but I think it will require more then returning false to some filter. The thing you should probably define first is what should be the registration process. My own experiance from which the answer is derived is that once you are unhappy with the WP login/registretion there is more then one aspect you will want to change, in your case why do you need user name at all. You need to define first what you want in a positive way (no registration email at all? different ones, no verification at all, or a later one) and then you might be able to hunt for specific hooks. – Mark Kaplun Oct 2 '15 at 11:13
  • If you use wp_create_user function to create a new user then it compulsory to verify. Because if email id is invalid then the function wp_create_user can not accept invalid email and also can not update invalid email. – WisdmLabs Jul 8 '16 at 12:37
  • @WisdmLabs, invalid != do not exist. anyway like all answers this one is more a concept idea, not something that has to be copy and pasted – Mark Kaplun Jul 8 '16 at 13:51
  • It's mistake by me if you use wp_insert_user then it required valid email id. If you provide invalid email id then all field are updated but email not updated. – WisdmLabs Jul 8 '16 at 13:54
-2
add_action( 'user_profile_update_errors', 'gowp_remove_new_user_email_error', 10, 3 );
function gowp_remove_new_user_email_error( $errors, $update, $user ) {
        unset( $errors->errors['empty_email'] );
}
  • Please edit your answer, and add an explanation: why could that solve the problem? – fuxia Dec 11 '17 at 13:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.