[wp-hackers] User Roles

Jennifer Hodgdon yahgrp at poplarware.com
Mon Mar 19 16:56:30 GMT 2007

> I am currently making a call to wp_get_current_user() and peeling the 
> role from there [...]
> So - is there an improvement on using wp_get_current_user() ?

I don't think there is. Check out the code in wp-admin/user-edit.php, 
which seems to be doing something similar to what you are describing.

More information about the wp-hackers mailing list