Home › Forums › General Issues › ACF User Field – Hide user roles from dropdown › Reply To: ACF User Field – Hide user roles from dropdown
Hi there,
Aside of it being a security issue (where anyone who has access to the “ACF user field” knows which role other users belong to) this field is not working as good as you might think.
We’re developing plugin for WP which defines new roles (e.g. priv-subscriber, priv-editor, priv-admin) where we give WP users multiple roles to be able to access different parts of our ecosystem. So right now with 100 registered users (where each of them can have multiple roles like “editor” plus “priv-subscriber” plus “priv-editor”) each of them is repeated twice or three times.
Can’t we have user field where users are not listed under their roles and not repeated?
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.