The pmpro_email_data filter lets developers add custom variables to email templates in Paid Memberships Pro. This hook passes a data array and the PMProEmail object. You can use these values in templates with placeholder tokens like !!key!!.
Paid Memberships Pro is recommended by our customers and users