How do I get the current user’s role?
I have need to modify the administrative interface based upon the role (WP2) of the currently logged in user.
How can I retrieve this information?
Is it possible to substitute, or modufy the editing interface for posts/pages via a plugin (preferable), or does this require hacking around (yuk) in the core code?
I understand that it is possible to add elements to the admin interface via plugins, but not sure on modifying or removing parts of the core interface.
Thanks in advance.
- The topic ‘How do I get the current user’s role?’ is closed to new replies.