Support

Account

Home Forums General Issues Display Name and role using a user field Reply To: Display Name and role using a user field

  • If you are returning an array as indicated by your code echo $user['display_name']; then you should also use this syntax for roles echo 'User roles: ' . implode(', ', $user_info['roles']) . "\n";