Home › Forums › ACF PRO › How to do: Group fields in backend saved for each user › Reply To: How to do: Group fields in backend saved for each user
you have to create a different options page for every user, using a different slug, and save them to a different post ID (which can be the slug of the options page) and you need to only create the options page when that user is logged in (or when some other user, for example your user ID is logged in). This means that if you have 100 users that you will have 100 different options pages. All in all not very efficient.
Using a CPT will have some additional overhead, but would be a more efficient way to do this. You could automate the creation of a new post in the post type. You could also put the post type list under the users menu and you could set permissions on this post type so that users can only read and edit their own post. Lots of work to get the details ironed out that I don’t have answers to.
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!
© 2022 Advanced Custom Fields.