How do I get the current user’s role?
-
Hi,
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.
Rob
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘How do I get the current user’s role?’ is closed to new replies.