I need to determine the current page's S2Member Restriction Level

For a special feature I’m building into my theme, I need to know if the current page’s access restriction level is 0. For that level and for certain users, I’ll be showing something extra on the page. How can I find the current Access Restriction Level?

Thanks!

Take a look at this.

Thanks Tim!

Interesting…the function, is_post_protected_by_s2member($id) was returning nothing for a while and now it is working. Not sure what I was doing wrong, but I’m in business now. Thanks again!