1

I'm creating a custom user profile page and I know how to print certain items attached to the user like

$user_profile['user_picture']

but I don't know the names of any of the other fields. Is there a way that I can view a list of user profile field machine names?

1
0

All of the user variables are located in configuration->People->Account Settings->Manage Fields. So simply look at them over there.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.