1

I'm looking to register users without requiring confirmation of their emails (and even better, no password when they register). Basically, I want them to subscribe their mails using wp registration process and then redirect to a page of my choice.

I know I can do it with CF7, or a newsletter plugin or whatever, but I actually need to use the default registration process because it connects to another plugin which uses it, and the UX flow is as follows:

user enter mails --> user gets redirected to thank you page with a ref code (provided by plugin). 

It's as simple as this, yet couldn't find the answer and I was searching for hours.

Any help really appreciated!

  • 2
    Using the default registration system for this is a VERY bad idea. Your site would fill with spammer accounts very very quickly. Why not just create a simple form that directs to provided plugin with logic code? – Digitalchild May 27 '15 at 0:52
  • @Digitalchild Maybe this is private site in local area network – basil Jun 21 '19 at 7:47
0

Well there is a function called wp_new_user_notification() which is pluggable you can alter it to stop user registration email:

if ( ! function_exists( 'wp_new_user_notification' ) ) {
    function wp_new_user_notification( $user_id, $plaintext_pass = '' ) {
        return false; // because we don't need to send email.
    }
}

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.