Home › Forums › Backend Issues (wp-admin) › Auto Populate field with user data? › Reply To: Auto Populate field with user data?
There would be three main differences between my example and what you want to do that would take some testing and playing.
1) Getting the value of the field were you select the user, assuming that you’re using a user field.
2) How you populate the email field, assuming you’ll be wanting to use an email field
3) The php function that gets and returns the email will need to look at users instead of posts.
If I have some time in the next few days I’ll try to take a look at it.
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.