Redirects non-logged users to the login page when they follow a link to a post, page, or cpt which is protected by post status.

Redirects non-logged users to the login page when they follow a link to a post, page, or cpt which is protected by post status.