Skip to:
Content
Pages
Categories
Search
Top
Bottom

bbpress Role Name Change


  • Kalusha
    Participant

    @kalusha

    Hello from Germany 🙂

    I have an WordPress Role called “Autor”. This Role are on my Site “Premium User” and “Abonnents” are Standard User. Capabilyties for the bbpress are the same. Now I want to under the names in the Forum who is a Premium User and who is a standard User.

    The bbPress Role for both is “participants” so the differents are only in the WordPress Role.

    With this Code I can change the name, but only for participants…
    ##Name ändern Participant in User Standard User
    function my_custom_roles( $role, $user_id ) {
    if( $role == ‘Participants’ )
    return ‘Standard User’;

    return $role;

    Hope anybody understand 🙂 me and can help me

    regards

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.
Skip to toolbar