Use this to change the recipient of an email sent by PMPro. This hook returns the recipient and the PMProEmail object.
apply_filters("pmpro_email_recipient", string $temail->email, PMProEmail $this); |
Parameters
- $temail->email
- string
- $this
- PMProEmail
Source
File: https://github.com/strangerstudios/paid-memberships-pro/blob/master/classes/class.pmproemail.php
View in Source CodeRelated Articles and Recipes
Methods to Totally Disable, Reroute, or Selectively Disable Paid Memberships Pro Emails to the Member/User or Admin By Kimberly Coleman