latest stable versions: v150827 (changelog)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

About: Steinar Knutsen

Sorry, I've not written a description yet. I'll get to it soon!


Topics I'm Subscribed To

Viewing topic 1 (of 1 total)
Topic Count Last Reply
Hook or Filter for Specific Post Restriction

By:  Steinar Knutsen in: Community Forum

voices: 2
replies: 2

4 years, 8 months ago  Raam Dev

Viewing topic 1 (of 1 total)

Topics I've Started

Viewing topic 1 (of 1 total)
Topic Count Last Reply
Hook or Filter for Specific Post Restriction

By:  Steinar Knutsen in: Community Forum

voices: 2
replies: 2

4 years, 8 months ago  Raam Dev

Viewing topic 1 (of 1 total)

My Latest Replies (From Various Topics)

Viewing 1 replies (of 1 total)
Author Replies
Author Replies
Posted: Thursday Apr 26th, 2012 at 5:08 pm #11989

I figured it out.

In s2-hack.php I used the following code, which allows certain users to bypass S2Member altogether for any post level restrictions I have in place.

$a= "some variable, like a static IP address";
if ($a = "123")
add_filter("ws_plugin__s2member_check_post_level_access_excluded", "__return_true");
Viewing 1 replies (of 1 total)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Contacting s2Member: Please use our Support Center for bug reports, pre-sale questions & technical assistance.