Getting user subscription status

Discussion in 'Integration' started by mdmr_llc, Jul 2, 2019.

  1. mdmr_llc

    mdmr_llc aMember Pro Customer

    Joined:
    Aug 22, 2006
    Messages:
    62
    I have a page where users can add their content. I need to be able to determine users' subscription status, i.e. whether they hav any active subscription, paid or free (not expired), when I view their content. Is it possible to use Lite API for that? If yes, if I know the user ID, how wpould I pass it into something like this:

    if (Am_Lite::getInstance()->haveSubscriptions(Am_Lite::ANY)) {
    ...
    }

    Thanks

Share This Page