Output the expire_date on thanks.phtml

Discussion in 'aMember Pro v.4' started by meduteam, Apr 16, 2012.

  1. meduteam

    meduteam New Member

    Joined:
    Mar 9, 2012
    Messages:
    7
    Hi guys,

    how can i echo the expire_date of the users subscription?

    I took a look at the API and tried
    $search =array(1); < 1=Product ID
    and Am_Lite::getInstance()->getExpire($search);

    but how can i output this on the thanks.phtml page after successful payment.

    thx in advance
  2. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    thanks.phtml is a regular php page, so just use:
    print Am_Lite::getInstance()->getExpire($search);

Share This Page