Home › Forums › General Issues › Possible to restrict user to just ONE custom entry? › Reply To: Possible to restrict user to just ONE custom entry?
Hi @codynew
definitely. This is how I would do it.
1. Create a new page template in your theme called ‘edit-profile.php’, then create a page in the CMS and select this template.
2. Write some logic in that template that looks at the current logged in user and uses that $user_id in the acf_form parameters to show the form for only this user.
Good luck
Thanks
E
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.