Restrict an entire custom post type
-
Currently with UM, you can enable the *options* to restrict posts within any custom post type, but this requires that you also then enable the restrictions on each post within that custom post type. If a user is to add a new post to it, they need to then remember to also restrict its access accordingly.
We’ve got a custom post type where everything in it should always have restricted visibility to one particular user role.
Is there a clean way to configure Ultimate Member such that *any* post within a specific custom post type (including newly added ones) are automatically restricted to a specified user role?
I’m sure we could find the specific UM post meta that locks down a post and auto-insert them into the post_meta table when a new post is created within that custom post type, but that seems far messier than something that would work globally.
- The topic ‘Restrict an entire custom post type’ is closed to new replies.