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.


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.

I’ve been testing this by adding a new user, then going in to the WP dashboard and changing the expiration date to 30 days out, then running the pmpro_cron_expiration_warnings cron job (use the WP Crontrol plugin).

Hi Jason Coleman,
Can you please tell me about “how to send membership expiration email to particular members level” in before and after one day from their end date ?

I think he meant that each of the extra expiration dates would have their own email, ie, 7 days out might start with “You have one week left to renew…” as to where 30 days out might say, “Your membership is up for renewal soon…”

Hello, first of all great plugin!
I had just started looking into whether it’s possible to extend the plugin in to having different email templates for each reminder just as you have described here. I was wondering if this was a feature anyone had already created?
Thanks!

How can I test this out once it’s installed? I created a test membership level and added myself and set it to expire in 30 days, then visited /wp-cron.php.. should that have triggered it?

Right. Sorry. Just answered that myself as I see that everything is set in the php itself. However, there may be members that need reminders 3 months prior, and others that do not, so would be nice if this could grow into options that are set for each member. I know… I should develop that, right?

Thanks again, Martin

Thanks Kimberly! Well done… just what we needed.

However, now that I’ve activated the plugin, how do we use it?

Sorry for my ignorance… but I don’t find the options anywhere.

; ) Regards, Martin
PHAI Ireland

Thanks, this is just what we were looking for. Pardon my ignorance but where should I put the pmpro-extra-expiration-warning-emails.php file? Inside the /wp-content/plugins/paid-memberships-pro/ folder?

Leave a Reply

For faster support related to issues on your specific site please open a ticket in our members support area.

Your email address will not be published. Required fields are marked *