Is there a way to create a WP User Capability that only allows editing of posts in a certain category and no other posts?

There are plugins that do this, but wondering how to do it in PHP code. It seems to be outside of the abilities of native WP functions.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.