Вход на сайт

Просмотр новости

Найдите то, что Вас интересует

Allow Member to Opt-Out of New Series Notification Emails

Дата публикации: 03-07-2026 17:57:20

The Series: Drip-Feed Content Add On releases content over time and triggers automatic emails to members whenever new posts in the series are published. As a membership site owner, you may want to give your members the option to opt-out of receiving those emails. This code recipe, paired with a new custom user field, will give members the option to opt-out. (more...)

Основное содержимое страницы с новостью.

The Series: Drip-Feed Content Add On releases content over time and triggers automatic emails to members whenever new posts in the series are published. As a membership site owner, you may want to give your members the option to opt-out of receiving those emails.

This code recipe, paired with a new custom user field, will give members the option to opt-out.

Featured image for Allow Member to Opt-Out of New Series Notification Emails

Do You Need This Recipe?

This recipe is worth adding if:

  • You are using Paid Memberships Pro’s Series: Drip-Feed Content Add On.
  • You want to give members the option to opt out of emails that trigger whenever new posts in the series are published.
About the Code Recipe

Before using the code recipe, you will need to set up a custom user field. This is necessary because the recipe uses that field to check whether a member has opted out of PMPro Series notification emails.

Step 1: Create the User Field
  1. Navigate to Memberships > Settings > User Fields on your WordPress admin.
  2. Create a new custom user field with the “Type” set to “Checkbox” and the “Name” set to disable_pmpro_series_email_notifications.
  3. Click the “Save All Changes” button.
Screenshot of How to Create a Custom Field in Membership Settings. Step 2: Add the Code to Your Site

With the custom user field in place, you can then add the code recipe to your website. The new checkbox will show on a member’s user profile page.

Screenshot of the new Unsubscribe From Series Email checkbox on a user profile.

This recipe works as-is as long as you have created the user field with the disable_pmpro_series_email_notifications name. If you change the name, you will need to update the code to match.

Understanding  the pmpro_email_recipient Filter

Paid Memberships Pro has a number of emails that trigger based on a member’s actions. For example, when a member checks out, when billing information is updated, or in this case, when a new post is published in a series.

During the email sending process, PMPro uses the pmpro_email_recipient filter to set the recipient of the email before it is sent.

This code recipe uses that same filter to check the email template and the disable_pmpro_series_email_notifications user field. If the member has opted out of PMPro Series notification emails with this field, the $recipient is set to null. The email process stops, and the email doesn’t get sent.

The Code Recipe 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.

How to Customize This Code Recipe

No further customization to the code is required.

You can, however, update your “New Series Content Notification” email template to include information on how members can opt out.

  • Navigate to Memberships > Settings > Email Templates
  • Select the “New Series Content Notification” email template.
  • Add information on how to unsubscribe. For example, “To unsubscribe from these emails, update this on your profile page: {insert link}”
  • Click the “Save Template” button.
Screenshot of How to Add Information so Members Can Unsubscribe From an Email Series.

PMPro Team

Author: PMPro Team

The editorial staff at Paid Memberships Pro is a team of WordPress membership site and online business experts led by Kim and Jason Coleman. Trusted by over 350,000 readers worldwide.

View more articles by PMPro Team »

Get Support From Our Team of Experts

For more help with this PMPro feature, check out our Support Page with three ways to get support as a free or premium member.

Was this article helpful?

YesNo

Схожие новости

#Наименование новостиТональностьИнформативностьДата публикации
1Troubleshooting Email Delivery on Your Membership Site0730-06-2026
2Only Include Admins in the WordPress User Delete Dropdown0725-06-2026
3Register a Custom Font Family for Memberlite0524-06-2026
4Exclude Billing Fields for Specific Membership Levels at Checkout0526-06-2026
5Require User Fields on the Member Profile Edit Page0530-06-2026
6Memberlite 7.1: Block-Based Header & Footer Variations5703-07-2026
7Google Analytics opt-out snippet added by Site Kit0502-07-2026
8How to Choose Your Email Marketing System (EMS)0523-06-2026
9Comment désactiver la lecture des reçus sur Telegram ?0501-06-2026
10Looper not showing author?0512-07-2026

Классификация: . Схожих патентов: 0. Схожих новостей: 10. Тональность: 0. Информативность: 7. Источник: www.paidmembershipspro.com.