2 tests for susbcriber

I have a user who once logged in acquires a level 4 and a custom capability - they register through a special url which gives them these attributes - not the usual registration form:

free subscriber - > s2Member-Pro-PayPal-Form register=“1” level=“4” ccaps=“special”

on a specific page I have an action with a shortcode before - > > s2If current_user_can(access_s2member_ccap_special) OR current_user_is(s2member_level4)

I’m getting confused so just wanted to check: does this mean that a person who has BOTH level 4 and ccap ‘special’ can access this page, or must it be a person who only has one of these attributes?

OR means that the user needs to have one of these attributes; AND would require both.

does that answer my question?:grin: If the member has both then he can still satisfy the OR qualification?

Yes. If I say that you may enter my club if you have a pass or a friend who will sign you in, you don’t get excluded if both are true!

Nicely put! (I would have left it at that but there is some kind of minimum post requirement…)