What is function for confirmation email?
-
Hi there
Im coding a plugin with custom registration page. When I process registration I use this function:
$new_user = wp_insert_user( $userdata );But this makes the user active and they can login. I want them to first get confirmation email with link and only after that they can login.
Which function can I use todo this?
And how do you insert user as inactive?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘What is function for confirmation email?’ is closed to new replies.