Create not-activated user in code, wordpress
WordPress does not have a active/deactivate function out of the box This worked for me to create users with aditional data. wp_insert_user(array( ‘user_login’ => $username, ‘user_pass’ => $password, ‘user_email’ => $email, ‘wp_user_level’ => $role, ‘show_admin_bar_front’ => ‘false’ //you probably won’t want normal users to see the admin bar )); http://codex.wordpress.org/Function_Reference/wp_insert_user Try adding a temporary role … Read more