• Resolved allenskd

    (@allenskd)


    Hello,

    It’s been some years since I last touched wordpress as in writing a plug-in and well I’m once again on track to start contributing once again.

    Since the codex changed so much I’m looking for a function to know if the user is admin (as in checking the user level) and also a function to know when the user is at the admin panel.

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • MichaelH

    (@michaelh)

    Welcome back.

    User Levels are really replaced by capabilities so see the Roles and Capabilities article for more info. Also look at the Role Manager plugin listed in the Resources section of that article.

    I believe is_admin() will tell you if you are in an admin panel.

    Thread Starter allenskd

    (@allenskd)

    Hello,

    Thanks MichealH. Sat down today to read the codex’s dev section and its been a great help. Yet I was wondering where to find a list of actions/filters and the returns/parameters they provide.

    MichaelH

    (@michaelh)

    Might see if you like this one:
    http://adambrown.info/p/wp_hooks

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘[Developing Plugin] Detecting the user level’ is closed to new replies.