Page 1 of 1

Get the "Post Level Restriction" of a particular post

PostPosted: March 24th, 2011, 1:24 pm
by prema
Hi,

How to get the "Post Level Restriction" of a particular post that was set in the Admin panel ?
Through code. Couldn't find any conditionals in API/Scripting...

Please help.

Re: Get the "Post Level Restriction" of a particular post

PostPosted: March 25th, 2011, 1:58 am
by Cristián Lávaque
Hi Prema.

Take a look at the additional examples for the Advanced Query Conditionals in that page WP Admin -> s2Member -> API / Scripting -> Advanced Query Conditionals -> Additional Examples.

Further details and additional functions can be found inside /s2member/includes/functions/api-functions.inc.php.