Home › Forums › Front-end Issues › Only users who created a post can edit that post › Reply To: Only users who created a post can edit that post
Hi @roger
My first question is to ask where the user is editing the post.
If the users are logging into the WP backend and editing posts via the normal wp-admin interface, then you could create a custom location rule!
A custom location rule will allow you to look at the current logged in user and compare it to the post’s author. If they match, return true, if not, return false.
This will show / hide the field group on a user basis!
You can read how to create custom location rules here:
http://www.advancedcustomfields.com/resources/tutorials/custom-location-rules/
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.