I'm looking to create a script that pulls some of this information, but I need to know how to call it. For example one of the 'machine names' for one field is field_first_name how could I call this?
At the moment I'm using:
<?php global $user; print $user->name; ?>
Below is what I'm looking for, pulling the custom information instead of the username.
<?php global $user; print $user->feild_first_name; ?>