[wp-hackers] automatically assign new users to selected blogs

Erick Hitter ehitter at gmail.com
Tue Nov 16 14:23:19 UTC 2010


You can use the action *user_register* in *wp_insert_user* to call *
add_user_to_blog* after the user is created.

See http://codex.wordpress.org/WPMU_Functions/add_user_to_blog for details
on *add_user_to_blog*.


On Tue, Nov 16, 2010 at 06:52, studio <studio at bpmedia-design.com> wrote:

> Hi is there a way to automatically assign new users to selected blogs?
> in my case every new user has to be assigned to a couple of blogs and has
> to have a certain "level"
> i've tried the user-role-editor-wordpress-plugin/ but it does not cut the
> cake for me...
> any suggestions?
> thanks in advance
> Peter
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers

More information about the wp-hackers mailing list