Restrict entire post type
-
How can I restrict a whole post type without having to do it on a per-post basis? I saw an old snippet to automatically select the restrict content options when you save the post. But is there no way to just say something like:
if (is_singular(‘my-post-type’)) {
apply UM restrictions to these roles
}
Seems like that should be posssible?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Restrict entire post type’ is closed to new replies.