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
Managed to get via following: