Home › Forums › General Issues › User Relationship › Reply To: User Relationship
Hi @afgarcia86
There is a guide in the docs that will show you how to create a new custom field and register it to your website.
You can easily copy and paste 99% of the user field code into your own field.
Without knowing how your user is attached to a ‘company’, I can’t offer any advice on your question other than use the connection to find the company and add that to the create_field $choices
Cheers
E
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.