Home › Forums › General Issues › Field Types from Field Groups › Reply To: Field Types from Field Groups
Are you trying to get all of the values from all users or just one user? It’s going to be difficult without knowing the user id and without knowing the field names to look at. You can get the field groups if you have a user id and loop through the fields in that group, but without a user id there is nothing built into ACF to get the fields. You could construct an SQL query and get the values from the usermeta table (https://codex.wordpress.org/Class_Reference/wpdb) but you’ll need to have the field names.
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.