pmpro_email_subject

Use this to change the subject of an email sent by PMPro. This hook returns the subject  and the PMProEmail object.


apply_filters("pmpro_email_subject", string $temail->subject, PMProEmail $this);

pmpro_email_template

Use this to change the template name of an email sent by PMPro. The template name specifies which email template to use for the email body. This hook returns the template name and the PMProEmail object.


apply_filters("pmpro_email_subject", string $temail->subject, PMProEmail $this);

pmpro_email_body

Use this to filter the content of the body of an email sent by PMPro. This filter returns the email body content and the PMProEmail object.


apply_filters("pmpro_email_body", string $temail->body, $this);

pmpro_email_headers

Use this to change the headers of an email sent by PMPro. This hook returns the email headers and the PMProEmail object.


apply_filters("pmpro_email_headers", string $temail->headers, PMProEmail $this);

pmpro_email_data

This filter makes it easier to add variables to edited email templates by passing an array of key-value pairs. Those values can then be used in email templates with the format: !!key!!.

This passes the data array and PMProEmail object.


apply_filters("pmpro_email_data", $this->data, $this);

plugin_locale

This filter controls the translation template to load for a specific language by using WordPress’s core function get_locale().


apply_filters("plugin_locale", get_locale(), "pmpro");

pmpro_email_filter

Use this to filter the entire PMProEmail object at once. This passes the PMProEmail object.


apply_filters("pmpro_email_filter", $this);

pmpro_email_recipient

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);

pmpro_email_sender

Use this to change the sender of an email sent by PMPro. This hook returns the sender and the PMProEmail object.


apply_filters("pmpro_email_sender", string $temail->from, PMProEmail $this);

pmpro_email_sender_name

Use this to change the sender name of an email sent by PMPro. This hook returns the sender name and the PMProEmail object.


apply_filters("pmpro_email_sender_name", string $temail->fromname, PMProEmail $this);