Filter to modify the content of your email header via custom code. You can adjust this content without custom code on the Memberships > Settings > Email Templates page in the WordPress admin.

apply_filters( 'pmpro_email_body_header', $header, $phpmailer );

Parameters

$header
string; The content of your site’s custom email header file (email_header.html), if present.
$phpmailer
object; The PHPMailer instance.

Source

File: https://github.com/strangerstudios/paid-memberships-pro/blob/master/includes/email.php

View in Source Code