[buddypress-trac] [BuddyPress Trac] #8104: add filter in bp_send_email to allow html email in wp_mail call

buddypress-trac noreply at wordpress.org
Thu Jun 20 03:53:04 UTC 2019


#8104: add filter in bp_send_email to allow html email in wp_mail call
-------------------------------+------------------------------
 Reporter:  shawfactor         |       Owner:  DJPaul
     Type:  enhancement        |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Emails             |     Version:  4.3.0
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |
-------------------------------+------------------------------
Changes (by imath):

 * keywords:  needs-patch => reporter-feedback
 * owner:  (none) => DJPaul
 * component:  Core => Emails


Comment:

 Hi @shawfactor

 I think you can already filter the content to be HTML. Could you try to
 use the filter `bp_email_get_content_plaintext` like what I've wrote into
 this [https://gist.github.com/imath/4faef242ae104c65ddb9ec711ea37189
 gist]?

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/8104#comment:1>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list