Creating custom field with Display Suite and Profile 2
Enough trial and error and I finally figured it out. I ended up using Display Suite Code as the text format, but writing php code in the field code box.

And to grab the first name the code was: $entity-&gt;field_first_name['und'][0]['safe_value'].