I have a couple custom post types that I don’t want to ever be published publicly. I know that when you register a custom post type, you can set ‘public’ to ‘false’, but this simply prevents you from publishing at all.
I would like to be able to publish these post types, but I will never set the visibility to ‘public’, and will probably never set it to ‘password’ either. Therefore, I want the only visibility option to be ‘private’ and all custom posts to be private by default.
Can someone tell me if this is possible, and how to do it? Thanks.
- The topic ‘Remove public visibility entirely’ is closed to new replies.