Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 23,840
- How-to & Troubleshooting
- 128,793
- Creating & Extending
- 25,727
- Requests & Feedback
- 9,439
- Third Party Plugins
- 9,772
- Showcase
- 3,317
- Ideas
- 1,387
- Miscellaneous
- 9,125
-
The follwoing doesn’t work but I feel like I’m close, no?
/* set new user role to Author */
function BugleNotes_set_default_role() {
add_uder_to_blog('1',$current_user->ID,'author');
}
add_action('wpmu_new_user', 'BugleNotes_set_default_role');
See also: WordPress.org • bbPress.org • BuddyPress.org • Matt • Blog RSS