Home › Forums › General Issues › User Name Field – Display Name Only › Reply To: User Name Field – Display Name Only
I have a similar problem like ashley.
For my events (events manager) speakers will be selected from the user database (ACF select user). I only need the person’s name.
I am a PHP beginner and ask for help.
I think I need to store the value from the array in a variable
$ values = Get_Field ('speakers');
$ values = $ value ['display_name'];
is that correct?
The result I want to save as a custom field. This I can enter as Atribut in the format of events manager
Now my beginner questions:
What is the function? Where it stands (funktions.php?)? How can I access it?
For a few tips I would be very grateful !!
many greetings
Ingo
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 Cookie Policy. If you continue to use this site, you consent to our use of cookies.