I´ve added a custom users field (called "test"). Now I want to call the value of this custom field for the current user who is logged in.
In the mysql databse I see the custom field under _fields. So how can I call this specific field?
Normally I get the current user object like this:
$user=JFactory::getUser();
$userId=$user->get('name');