Mar 10
18
-
/* get the role of the current user */
-
-
$var = $wpdb->prefix . ‘capabilities’;
-
$caps = $current_user->$var;
Tags: caps, current_user, role, user, wordpress, wpdb
This entry was posted
on March 18, 2010 at 12:08 pm. You can follow any responses to this entry through the RSS 2.0 feed.
Both comments and pings are currently closed.
Posted in Wordpress by admin