Description
This hook will allow you to filter the email headers that are sent through wp_mail.
Parameters
$default_headers
(mixed)(required) The email headers.
$toggle
(string)(optional) Toggle to determine what email is being generated (newreg|newmod|appmod|repass|admin).
Usage
[snippet slug=set-email-content-type-to-html-wpmem_email_headers lang=php]
Changelog
Since versionĀ 2.7.4
Moved to /inc/email.php in 3.0.0
Moved to /inc/class-wp-members-email.php in 3.2.0
Moved to /includes/class-wp-members-email.php in 3.3.0
Source
wpmem_email_headers is located in /includes/class-wp-members-email.php