Home › Forums › Add-ons › Repeater Field › Repeater field to stock blocked users ? › Reply To: Repeater field to stock blocked users ?
Looking up users in a repeater would be extremely inefficient.
I’m not sure I understand what you are trying to block them from.
Specific posts?
Specific post types?
Something else?
If it is blocking them from a specific post I would add a field group that is only available for you to edit on the posts that includes a user field. You would edit the post and select the users that cannot access that page. This would be a more efficient way to check the current user against a list of users.
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βre excited to announce we've released Composer support for installing ACF PRO.
— Advanced Custom Fields (@wp_acf) January 31, 2023
π #ComposerPHP fans rejoice!
β¨ Please see the release post for all the details and full instructions. https://t.co/ebEfp61nlR
© 2023 Advanced Custom Fields.
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.