Exclude Password Protected Posts

The code below will exclude posts that require a password from Ajax Load More listings using pre_get_posts.


« Back to Code Samples