Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Is it possible to create a user account without an email. Just a username?

I saw that there is a plugin to allow multiple authors under one email. Does anyone have any recommendations on other ways to do this. I know this not ideal but I have one user who will posting on behalf of multiple users. Having the user verify their email through gravatar for each new author is a

http://coffee2code.com/wp-plugins/allow-multiple-accounts/

share|improve this question
add comment

1 Answer

up vote 3 down vote accepted

As far as I'm aware, it's not possible via Add New under the Users tab, however, the wp_create_user function will let you create users without an email address:

$username = 'someuser';
$pass = 'swordfish';
$new_user_id = wp_create_user( $username, $pass );

You'd have to wrap that in a basic plugin and provide some sort of UI for adding users.

share|improve this answer
    
Thank you that seems pretty straight forward. –  digitalbart May 2 '12 at 22:21
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.