WordPress.org

Ready to get started?Download WordPress

Forums

Get Role (3 posts)

  1. Aaron
    Member
    Posted 3 years ago #

    Whats the funtion or PHP code to call the Name of your role so I can use the name in a template?

    Thanks

  2. esmi
    Forum Moderator
    Posted 3 years ago #

  3. Mark / t31os
    Moderator
    Posted 3 years ago #

    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..

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags