How it Works

After installing and activating the plugin, the system will automatically send a notification to the member 7 days prior to their next subscription payment date. You can adjust this interval via the pmpro_upcoming_recurring_payment_reminder filter.

Installation

You must have the Paid Memberships Pro plugin installed and activated with a valid license type to use this Add On.

  1. Navigate to Memberships > Add Ons in the WordPress admin.
  2. Locate the Add On and click Install Now.
    • To install this plugin manually, download the .zip file above, then upload the compressed directory via the Plugins > Add New > Upload Plugin screen in the WordPress admin.
  3. Activate the plugin through the Plugins screen in the WordPress admin.

Running a Test

Site administrators can test this Add On without actually sending any emails to the user. To fully leverage this testing feature, enable debugging and error logging as described in this article. This method will output data about what the Recurring Emails Add On is doing to your site’s debug log.

You must be logged in to your site admin in order to initiate a test. Once logged in, navigate to your site’s WordPress admin url with the variable ?pmpror_test=1 appended. For example:

https://yoursite.url/wp-admin/?pmpror_test=1

Adjusting the Recurring Email Interval

By default, the system will automatically send a notification to the member 7 days prior to their next subscription payment date. You can adjust this timeframe or add additional notifications using the pmpro_upcoming_recurring_payment_reminder filter.

The filter uses an array ($rec_array) to control how many days prior to the recurring payment due date a reminder is sent and what email template to send. The default email is ‘membership_recurring’.

For example: array ( 30 => 'membership_recurring', ) will send the email template ‘membership_recurring’ 30 days prior to the recurring payment due date. You can add multiple reminders by adding to the array as follows: array ( 30 => 'membership_recurring', 14 => 'membership_recurring', 7=> ' membership_recurring'). This code will send an initial reminder at 30 days out, then again at 14 and a final reminder 7 days before.

Action and Filter Hooks

`apply_filters( ‘pmprorm_send_reminder_to_user’, bool $send_mail, WP_User object $euser, MemberOrder $lastorder );`

`apply_filters( ‘pmpro_upcoming_recurring_payment_reminder’, array $reminders );`

This is a Standard Add On.

Standard Add Ons are included in all premium membership plans.