How to hide private custom post type to show to visitors on site?

I am having issue my site, when I set my custom post type to “private” they are still visible to visitors. But when I set my page or post to “private” they don’t show to visitors.

So, my question to how can I hide my custom post type post from visitors and non admin user access when it’s visibility is set to “private”.

I hope this make sense. Thanks!

Read more here:: How to hide private custom post type to show to visitors on site?

Leave a Reply

Your email address will not be published. Required fields are marked *