Paid Memberships Pro allows you to mark certain pages, posts, and categories as members-only. However, what if you want to lock access down to your whole site? This code snippet shows you how to do that.

This content requires a premium membership plan.

Tagged . Bookmark the . Last updated: .