Full list of Email params

« Configuring MemberPress Emails

  • {$user_id}
    The user's WordPress database ID (9253)
  • {$user_login}
    The user's username (johndoe)
  • {$username}
    The user's username (johndoe)
  • {$user_email}
    The user's email address (john@doe.com)
  • {$user_first_name}
    The user's first name (John)
  • {$user_last_name}
    The user's last name (Doe)
  • {$user_full_name}
    The user's first and last names (John Doe)
  • {$user_address}
    The user's formatted address
  • {$membership_type}
    The name of the membership purchased (Bronze Membership)
  • {$product_name}
    The name of the membership purchased (Bronze Membership)
  • {$invoice_num}
    The database id of the Transaction (8325)
  • {$trans_num}
    The Transaction number (ch_1S7H9S70G28)
  • {$trans_date}
    The date the Transaction was created
  • {$trans_expires_at}
    The date the Transaction expires
  • {$trans_gateway}
    The payment gateway the user purchased with (PayPal)
  • {$trans_status}
    The status of the Transaction (Complete)
  • {$user_remote_addr}
    The IP address the Transaction was recorded from (50.16.236.202)
  • {$payment_amount}
    The amount of the Transaction payment ($10.00)
  • {$blog_name}
    Your blog's title (Robert's Cool Tips Blog)
  • {$payment_subtotal}
    If taxes are enabled, this is the amount before taxes ($9.00)
  • {$tax_rate}
    The tax rate as a percentage (10%)
  • {$tax_amount}
    The tax portion of the sale amount ($1.00)
  • {$tax_desc}
    The description for the tax charged (GST)
  • {$business_name}
    The name of your business as defined in the MemberPress Options -> Info tab (Robert's Cool Tips Blog)
  • {$biz_name}
    The name of your business as defined in the MemberPress Options -> Info tab (Robert's Cool Tips Blog)
  • {$biz_address1}
    The first line of the address as defined in the MemberPress Options -> Info tab (123 Fake Street)
  • {$biz_address2}
    The second line of the address as defined in the MemberPress Options -> Info tab (Suite 321)
  • {$biz_city}
    The city as defined in the MemberPress Options -> Info tab (Tinseltown)
  • {$biz_state}
    The state as defined in the MemberPress Options -> Info tab (TX)
  • {$biz_postcode}
    The post/zip code as defined in the MemberPress Options -> Info tab (77777)
  • {$biz_country}
    The country as defined in the MemberPress Options -> Info tab (US)
  • {$account_url}
    The URL to your account page (https://robstipsblog.com/account/)
  • {$login_url} or {$login_page}
    The URL to your login page (https://robstipsblog.com/login/)
  • {$subscr_num}
    For recurring subscriptions this is the Subscription Number (cus_KSDF8SDF98SDF)
    For non-recurring subscriptions this is the Transaction Number (ch_1S7H9S70G28)
  • {$subscr_date}
    The date the Subscription was created/started
  • {$subscr_gateway}
    The payment gateway the user purchased with (PayPal)
  • {$subscr_next_billing_at}
    The date of the next billing if this is a recurring subscription
    This will say "Never" if it's a non-recurring subscription
  • {$subscr_expires_at}
    Also the date of the next billing for a recurring subscription
    If a non-recurring subscription, then the "Expires At" date of the Transaction
  • {$subscr_terms}
    The pricing terms of the subscription (1 Week for free then $99 / year)
  • {$subscr_next_billing_amount}
    The amount of the next billing cycle on a recurring subscription
  • {$subscr_cc_last4}
    The last 4 of the user's Credit Card number associated with a recurring subscription
    This is empty with non-recurring subscriptions and users who paid with PayPal
  • {$subscr_cc_month_exp}
    The month the Credit Card expires
  • {$subscr_cc_year_exp}
    The year the Credit Card expires
  • {$subscr_renew_url}
    Links to the login page, with a redirect parameter set which takes the user to the Membership renewal page after logging in
    This is not necessary for recurring subscriptions as the user is charged automatically after each cycle
    Instead this should be used for non-recurring subscriptions which have an end date
  • {$subscr_update_url}
    This currently just links to the user's account page
    There they can click the "subscriptions" tab, and update their payment information if needed
  • {$subscr_upgrade_url}
    Links to the login page, with a redirect parameter set which takes the user to the Membership Group page
    This only works if the Membership is part of a Group which is an upgrade path