最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

author - no emails for a user account

programmeradmin1浏览0评论

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

/

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/wp-plugins/allow-multiple-accounts/

Share Improve this question edited May 2, 2012 at 14:46 digitalbart asked May 2, 2012 at 13:43 digitalbartdigitalbart 2171 gold badge2 silver badges7 bronze badges
Add a comment  | 

2 Answers 2

Reset to default 4

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.

such a plugin exists: https://wordpress/plugins/optional-email/ but hasn't been maintained for a while. Still works on one of my sites however.

发布评论

评论列表(0)

  1. 暂无评论