[buddypress-trac] [BuddyPress Trac] #6787: User setting to pick plain text or HTML emails
buddypress-trac
noreply at wordpress.org
Sat Dec 19 19:53:44 UTC 2015
#6787: User setting to pick plain text or HTML emails
----------------------------------+-----------------------------
Reporter: DJPaul | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: Component - Settings | Version:
Severity: normal | Resolution:
Keywords: good-first-bug |
----------------------------------+-----------------------------
Comment (by r-a-y):
In the email plugin I built, I added an "Email Type" option directly on
the "Settings > Email" page.
[[Image(http://imgreview.com/i/gVMvR)]]
I think this is the most logical place to put such an option.
To check what the user has set for their email type preference, I've
hooked into the `'wp_mail'` to determine the user ID and then set the
email content type later on the `'wp_mail_content_type'` filter:
https://github.com/r-a-y/wp-better-emails-for-bp/blob/master/wpbe-
bp.php#L49-L53
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6787#comment:2>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list