Notification Email Content Type
-
Hi,
I would like to send my notification emails as
text/plainhowever the code indefault_api.phpsets 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.phpline 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_typefilter.Thanks!
The topic ‘Notification Email Content Type’ is closed to new replies.