• Resolved sebastiansaravia

    (@sebastiansaravia)


    I’m trying to get the access level name of a user logged into my site but I’m not getting it.
    I checked the plugin documentation but it was very confusing and I couldn’t find what I was looking for. Literally what I need is:

    Variable(string) = function that returns the name of the access level of the logged in user

    Could you help me?

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author Joachim Jensen

    (@intoxstudio)

    While there is currently no way to get this via the RUA API, you can do it via shortcode like so:

    echo do_shortcode('[rua-user-levels id="'.$user_id.'"');
Viewing 1 replies (of 1 total)

The topic ‘Get access level name by code’ is closed to new replies.