Viewing 1 replies (of 1 total)
  • Plugin Author Chad Butler

    (@cbutlerjr)

    The problem is the action you are using.

    user_register comes at the end of the function wp_insert_user(). WP-Members uses wp_insert_user() to create the new user, but then it has a number of other things it needs to do after that, such as adding the data for the custom user fields and sending out emails.

    So basically, your function is exiting the process before it’s finished.

    Use wpmem_register_redirect instead.

Viewing 1 replies (of 1 total)
  • The topic ‘Auto login after registration not sending email, not saving data in profile’ is closed to new replies.