Accessing custom fields from User Model I have a User entries field called 'company'.
I'm writing a bespoke plugin to manage users in the front-end and was wondering how I can access the content of this field in my plugin via the user model?

Any thoughts as struggling a wee bit here!
Response via Slack from Brandon Kelly:


  Accessing custom field values from PHP is the same as in Twig - once you have the UserModel it's just $user-&gt;myCustomFieldHandle
  or $user-&gt;myEntriesField-&gt;first(), etc.


Managed to get via following: $user-&gt;company-&gt;first()-&gt;title