Is it possible to have a form in WordPress that would allow more than one user to register at a time? So say I wanted to be able to add 5 users at once, is this possible to do with the default registration form or is that limited to one user?
It would be one form (or multiple, but need all to submit at once) on the front-end that the user could add multiple emails to and it would set them up as subscribers and send out the generated password to each email listed. I can't figure out a way to add more than one at a time.
Would be using something similar to this, but with multiple users.
<form id="register-form" action="<?php echo site_url('wp-login.php?action=register', 'login_post') ?>" method="post"> <input type="hidden" name="user_login" value="Username" id="user_login" class="input" /> <input type="hidden" name="user_email" value="E-Mail" id="user_email" class="input" /> <?php do_action('register_form'); ?> </form>
Any ideas? Thanks