How can I show the user role for moderators?

5.09K viewsGeneraluser
0

Hi,

I would like to know how to show the moderator role in the frontend. I would like that my community know which user is a moderator.

0

Hi Kumar,

thank you for the answer, but how can I use this code inside the askbug theme in order to show the user role below the user name. I tried to implement the code but the site brakes when I try.

0

Hello Romny,

You can see an example here: AnsPress_Reputation_Hooks::display_name(). You have to use this hook: apply_filters( ‘ap_user_display_name’ ).

Let me know if you need further assistance.