• Resolved LS

    (@lsterling03)


    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?

    • This topic was modified 10 months, 3 weeks ago by LS.
    • This topic was modified 10 months, 3 weeks ago by LS.
    • This topic was modified 10 months, 3 weeks ago by LS.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support andrewshu

    (@andrewshu)

    Hello @lsterling03

    You could restrict the categories for post types. There is no another way.

    Regards.

    Plugin Support andrewshu

    (@andrewshu)

    Hi @lsterling03

    This thread has been inactive for a while so we’re going to go ahead and mark it Resolved.

    Please feel free to re-open this thread if any other questions come up and we’d be happy to help. ??

    Regards

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Restrict entire post type’ is closed to new replies.