Notification Email Content Type
-
Hi,
I would like to send my notification emails as
text/plain
however the code indefault_api.php
sets the content type to ‘text/html’. Would it be possible to make this an option or filter?For example, this would be great in
default_api.php
line 519:add_filter( 'wp_mail_content_type', create_function( '', 'return "'.apply_filters( 'wp_crm_mail_content_type', 'text/html' ).'"; ' ) );
This would let the default content type be overwritten by the
wp_crm_mail_content_type
filter.Thanks!
- The topic ‘Notification Email Content Type’ is closed to new replies.