Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: set default Role of new user


nicolagreco
Participant

@nicolagreco

it will never work :)

/* set new user role to Author */
require_once("bp-core-php");
function BugleNotes_set_default_role() {
global $bp;
add_uder_to_blog('1', $bp['loggedin_userid'], 'author');
}
add_action('wpmu_new_user', 'BugleNotes_set_default_role');

or another hook..

Nicola,

BP GURU

Skip to toolbar