Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: (yet another) integration bug, no Role set on registration

This is what i do to solve the problem:

function wpbb_add_user_role_rk($user_id) {

$user = new WP_User($user_id);

$user->set_role(get_option('default_role'));

}

add_action( ‘bb_new_user’, ‘wpbb_add_user_role_rk’);

Skip to toolbar