[ad_1]
Plugin Author
Kento
(@proaktion)
Hi!
Thanks for posting this, it’s a case that isn’t covered yet OOTB by Groups or any of its extensions.
One approach you could take is to limit the categories offered when someone is editing a post based on their group membership. You’d have to use a filter to limit the categories offered, and could use Groups’ API to check for the user’s membership.
For example, use the list_terms_exclusions filter hook and exclude categories that the user should not be able to choose while editing a post. On the Examples documentation page you can see how to check for a user’s membership. Also useful as a source are the repositories related to Groups.
I hope this helps, feel free to ask if you have any questions!
