Simple Membership Plugin › Forums › Simple Membership Plugin › missen email merge tag
- This topic has 6 replies, 3 voices, and was last updated 7 months ago by
cowiz.
-
AuthorPosts
-
November 25, 2025 at 1:52 pm #31770
cowiz
ParticipantHi, please i can’t find an email merge tag for expiration date. here is the list of merge tags that i see on the simple membership’s plugin website:
{first_name} – Member’s first name
{last_name} – Member’s last name
{email} – Member’s email address
{member_id} – Member ID
{user_name} – Member’s username
{account_state} – Account State
{membership_level} – Membership Level ID
{membership_level_name} – Membership Level Name
{phone} – Phone number (if available)
{member_since} – Member since date
{subscription_starts} – Subscription start date
{company_name} – Company name
{primary_address} – Member’s addressplease i really need that for expiration date! Thanks.
November 26, 2025 at 12:43 am #31772The Assurer
ModeratorWhat specific situation do you require this kind of tag?
Would the Email Notification and Broadcast Addon be suitable for what you are looking for?
https://simple-membership-plugin.com/simple-membership-email-notification-broadcast-addon/Alternatively, you can extend SWPM by Use SWPM’s hooks / filters to add a custom merge tag that grab the user’s expiry date and inserts it into the email.
November 26, 2025 at 1:04 pm #31774cowiz
ParticipantI need it for two use cases.
1) To include it in the email sent to a member once his/her account is created so that he/she should know upfront for how long the account will be active.
2) So that i can send warning emails to members when their account is about to expire.November 27, 2025 at 12:06 am #31776admin
KeymasterThe expiry date is not a fixed data point but is dynamically calculated based on various account parameters.
For more details on the logic, this documentation may be helpful:
https://simple-membership-plugin.com/manually-activating-expired-members-account/We will look into it and see if we can create an email merge tag for it in the next release.
December 1, 2025 at 10:17 am #31782cowiz
Participantplease can you elaborate more on this?
“Alternatively, you can extend SWPM by Use SWPM’s hooks / filters to add a custom merge tag that grab the user’s expiry date and inserts it into the email”.December 1, 2025 at 11:43 pm #31785admin
KeymasterWe have added the {expiry_date} email merge tag. Update the plugin to the new version to get it.
December 8, 2025 at 1:51 pm #31797cowiz
ParticipantThank you i can now access it after the update.
-
AuthorPosts
- You must be logged in to reply to this topic.