JosephGabito / subway-2.0

Subway is a plugin for WordPress that allows you to hide the content of your website to non-logged in visitors and only displays them to logged in users.
http://dunhakdis.com
2 stars 1 forks source link

Add filter to control exclude page ids #19

Closed cycomarcooo closed 6 years ago

cycomarcooo commented 7 years ago

Use example: allow unlogged users to access all blog posts. Thanks to such filter, it's possible to check if current post is of type 'post' and then exclude it from the redirect process.