Hello, I'm using aMember on WordPress. I'd like to manually (in the PHP code of my pages directly) play with aMember variables. For example, I'd like to be able to put in my pages : <?php if(is_user_ubscribed_to_product($productnumber)) /* the rest of my PHP code here, only for user who subscribeds */ ?>Is that possible ?
Yep, you use php-exec plugin and then use php like any other webpage: http://manual.amember.com/Integrating_aMember_Pro_with_website David
Thank you David (David from MembershipAcademy ?). I already looked at the manual. But I didn't find any information which may tells me how to detect if my user is a subscriber of product #2. It should be something like if(in_array($_SESSION["_amember_product_ids"], 2)) { /* The damn code */ } The code on the webpage you linked is only to display the user's contact informations...