Support » Plugins » Hacks » determin user role

  • Resolved genim

    (@genim)


    I want to know how to achieve this

    if (the user is a contributor) {
    set of statements;
    }
    else if (the user is a subscriber) {
    set of statements;
    }
    else if (the user is a author) {
    set of statements;
    }

    is there any wordpress codec? or any other way?

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘determin user role’ is closed to new replies.