By default, Paid Memberships Pro will send members an email notice 7 days prior to their expiration date. The Extra Expiration Warning Emails Add On will automatically adjust this frequency to send notices at 30, 60, and 90 days prior to expiration.

This guide will show you how to modify the default notice intervals for your unique needs.

Banner Image for Customizing the Membership Expiration Notification Code Recipe

Customizing the Email Frequency

By default, the Add On will send emails at 90, 60, and 30 days prior to membership expiration. If you would like to send the notice at other intervals, you must use a custom filter for the pmproeewe_email_frequency_and_templates array. See the recipe below for an example:

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.

Adjust the $settings array on lines 11-15 for your custom intervals.

For more information about this Add On and included filters, read the documentation page here.

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