Full List of Email Parameters

Depending on the email type, only a portion of these fields may be available for it. You can see all available fields for a particular email type using the 'Insert' dropdown option below the email body when editing it.

On this page, we have listed all of the supported parameters for every MemberPress Email and Reminder. Please note that each parameter can only be used in the email type they are listed under. For quick links to each section click on the option below:

MemberPress Emails

These are only for the emails found in the MemberPress > Settings > Emails tab

  • {$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)
  • {$usermeta:slug}  Use this to add any custom fields filled out during registration. Where "slug" gets replaced with the slug of your custom field, i.e. {$usermeta:mepr_office_phone} could be an example. For more info check out the "Adding Custom Fields in Emails" section on this page
  • {$user_address}The user's formatted address
  • {$user_registered}The date the user created their account. 
  • {$membership_type} The name of the membership purchased (Bronze Membership)
  • {$product_name} The name of the membership purchased (Bronze Membership)
  • {$coupon_code} The title of the coupon code if it was used for purchasing a membership
  • {$invoice_num} The database id of the Transaction (8325)
  • {$trans_num}The Transaction number (ch_1S7H9S70G28 or py_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)
  • {$usermeta:mepr_vat_number}  Displays the VAT number the user entered upon registering for your membership if VAT is enabled. 
  • {$business_name}The name of your business as defined in the MemberPress Settings -> Info tab (Robert's Cool Tips Blog)
  • {$biz_name} The name of your business as defined in the MemberPress Settings -> Info tab (Robert's Cool Tips Blog)
  • {$biz_address1} The first line of the address as defined in the MemberPress Settings -> Info tab (123 Fake Street)
  • {$biz_address2} The second line of the address as defined in the MemberPress Settings -> Info tab (Suite 321)
  • {$biz_city} The city as defined in the MemberPress Settings -> Info tab (Tinseltown)
  • {$biz_state} The state as defined in the MemberPress Settings -> Info tab (TX)
  • {$biz_postcode} The post/zip code as defined in the MemberPress Settings -> Info tab (77777)
  • {$biz_country} The country as defined in the MemberPress Settings -> 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 (sub_ksdf8ksdjf8sd7s) For non-recurring subscriptions this is the Transaction Number (ch_1s4f1s5s1s5 or py_1s4f1s5s1s5)
  • {$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_num} 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
  • {$subaccounts_url} The link to Manage Sub Accounts page. This only works if Corporate Accounts Add-on is installed

Back to the top

Reminder Emails

These are only for the reminder emails found in the MemberPress > Reminders page

  • {$reminder_id} The unique ID (WP_Post ID) of the Reminder. Usually you won't want/need to use this in your Reminder emails to your Customers.
  • {$reminder_trigger_length} The trigger length of the Reminder. If your Reminder is sent out 3 days after a Subscription Expires. This value would be  3.
  • {$reminder_trigger_interval} The trigger interval of the Reminder. If your Reminder is sent out 3 days after a Subscription Expires. This value would be  days.
  • {$reminder_trigger_timing} The trigger timing of the Reminder. If your Reminder is sent out 3 days after a Subscription Expires. This value would be  after.
  • {$reminder_trigger_event} The trigger event of the Reminder. If your Reminder is sent out 3 days after a Subscription Expires. This value would be sub-expires.
  • {$reminder_name} The name/title of your Reminder. Might be something like  Subscription Expiring.
  • {$reminder_description} The description of your Reminder. Might be something like  Subscription Expired 3 Days ago.
  • {$usermeta:slug}  Use this to add any custom fields filled out during registration. Where "slug" gets replaced with the slug of your custom field, i.e. {$usermeta:mepr_office_phone} could be an example. For more info check out the "Adding Custom Fields in Emails" section on this page

Back to the top

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.