Exactly What We Needed
-
We tried a couple other plugins to restrict content. This one worked best for our use case because we could easily restrict content based on whether a condition is or is NOT true.
For instance, this expression tests true if a user is a member of ‘privileged_few’ (which of course means they have to be logged in):
current_user_can('privileged_few')
And this one tests true if a user is NOT a member of ‘privileged_few’ (which includes not logged in):
!current_user_can('privileged_few')
The other plugins tried would only test on whether a user was in a role (or logged / logged out), but wouldn’t easily test true if a user was NOT in a role. So presenting two different types of content based on is, or is not, a role member was considerably more difficult.
So we are very grateful this plugin exists, and that it is provided without charge!
- The topic ‘Exactly What We Needed’ is closed to new replies.