It’s important to personalize all aspects of your membership site to keep everything cohesive, clear, and usable for your members. This code recipe will help you override the default email settings for PMPro.

Banner image for Change the "From" Email and Name on PMPro Emails

About the Code Recipe

Paid Memberships Pro has an email settings tab that lets you override the default From name and address on emails sent by WordPress. We kind of over-zealously apply these values to ALL WordPress emails and not just PMPro emails.

Most users will want other emails (e.g. the password reset emails) to use the same settings. However, if you are using other plugins or bits of code to change the same settings, PMPro might override those plugins. For example if you are using Contact Form 7 and setting a from name and address there.

This code here will disable PMPro’s default behavior and change things so only PMPro emails get updated to use the from email and name settings.

Screenshot of email configuration in the Membership Settings portion of the WP Admin

The Code Recipe (PHP)

Adding the Recipe to Your Website

You can add this recipe to your site by creating a custom plugin or using the Code Snippets plugin available for free in the WordPress repository. Read this companion article for step-by-step directions on either method.

Free Course: Membership Site Development—The Basics

Develop a deeper understanding of membership site development in this beginner-level course. Learn how to make your site work better, save yourself time and money, and improve your site's performance.

Featured Image for Membership Site Development Course: The Basics
Was this article helpful?
YesNo