0

I have a CPT for Businesses, which have a relationship to another CPT, region. Users can edit their own businesses, but I also have regional managers that I would like to give the ability to edit businesses in their region.

Right now users can only edit the business listings they are the author of. I have an ACF field for users, regions managed, that contains one or more regions this user manages. I'd like them to be able to see all the listings in that region and be able to edit them. Currently they can see all the listings in the system, but view only.

I have a form on the front end that allows some basic editing, and a function that properly checks if a user can edit a given listing, but I'm not sure how to go about incorporating this in the WP admin listings.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.