Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: Can’t give users custom roles.

@batteman

Participant

Good evening (in France, it’s 1:31 am ^^)

Did you find an answer to these problem ? I’ve the same issue too with this “code” :


/* Ajouts de rôles-clone à bbPress*/
function add_revendeur_role( $bbp_roles ) 
{
$bbp_roles['bbp_revendeur'] = array(
'name' => 'Revendeur',
'capabilities' => bbp_get_caps_for_role( bbp_get_participant_role() )
);
return $bbp_roles;
}
add_filter( 'bbp_get_dynamic_roles', 'add_revendeur_role', 1 );

I tried a few “codes” found on this forum without success.

Thank you.

Skip to toolbar