PriMoThemes — now s2Member® (official notice)

This is now a very OLD forum system. It's in READ-ONLY mode.
All community interaction now occurs at WP Sharks™. See: new forums @ WP Sharks™

Get the "Post Level Restriction" of a particular post

s2Member Plugin. A Membership plugin for WordPress®.

Get the "Post Level Restriction" of a particular post

Postby prema » March 24th, 2011, 1:24 pm

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.
Thanks in advance

- Prema
User avatar
prema
Registered User
Registered User
 
Posts: 13
Joined: March 16, 2011

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

Postby Cristián Lávaque » March 25th, 2011, 1:58 am

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.
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010


Return to s2Member Plugin

Who is online

Users browsing this forum: Bing [Bot] and 1 guest

cron