• Resolved Make carlos

    (@make-carlos)


    Hi,

    How can we set that only paid member can do login and comment. For example we are using Amember pro

    $pids = Am_Lite::getInstance()->getCategoryProducts(2); //paid
        $isPaid = Am_Lite::getInstance()->haveSubscriptions($pids);
        $isActive = Am_Lite::getInstance()->isUserActive();
      
        if ($isPaid && $isActive) {
    	
    // Only paid member can do login and comment	
    	}

    Which filter/action should i use to make it done.

    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to Set member login and comment’ is closed to new replies.