WordPress.org

Forums

[resolved] Tags to Identify Logged In User's Role (3 posts)

  1. CallUp
    Member
    Posted 5 years ago #

    I've been looking around the tags page and I can't seem to find anything that would allow me to identify the roles for logged in users.

    I want to know this to determine which functionality to allow the user to see. For instance, if the administrator logs in, I want to be able to offer him a link directly into the dashboard (something I won't make viewable to any other user).

    I'd also like for only those who have permission to write a new diary to see the option "Write a New Diary."

    Can anyone point me to the tags used to identify logged in users' roles?

  2. esmi
    Forum Moderator
    Posted 5 years ago #

    http://codex.wordpress.org/Function_Reference

    Look for the User and Author Functions.

  3. CallUp
    Member
    Posted 5 years ago #

    Awesome! Thanks for your help!

Topic Closed

This topic has been closed to new replies.

About this Topic