Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: set default Role of new user


jfcarter
Participant

@jfcarter

Okay, now I’ve added Gogoplata’s step:

in wp-includeswpmu-functions.php change this:

add_user_to_blog(‘1’, $user_id, ‘subscriber’);

to this:

add_user_to_blog(‘1’, $user_id, ‘author’);

this, combined with Andy’s code did the trick! many thanks!

:)

Skip to toolbar