I am trying to display a custom menu in wordpress based on the product id in the users subscription. How can I access the amember sessions that contain this information? This is Amember v3.3 pro Thanks Chris
You can access aMember's session variables from wordpress: PHP: <?phpif($_SESSION['_amember_id']){ // User is logged in; if(in_array(1, $_SESSION['_amember_product_ids'])){ // user have subscription to product 1 }}?>