Support » Plugins and Hacks » Hacks » Get Role
6 years, 4 months ago
Whats the funtion or PHP code to call the Name of your role so I can use the name in a template?
Not sure i follow, i think Esmi’s suggestion is a good one, i didn’t think you might be referring to the current user, but in that context your question does make sense..
Do you want the role of the currently logged in user? Yes, see Esmi’s suggestion… No, please clarify what it is you’re attempting to do..