[buddypress-trac] [BuddyPress Trac] #6592: Email API and customisation features
buddypress-trac
noreply at wordpress.org
Thu Sep 24 14:26:13 UTC 2015
#6592: Email API and customisation features
------------------------------+------------------
Reporter: DJPaul | Owner:
Type: idea | Status: new
Priority: normal | Milestone: 2.4
Component: Component - Core | Version:
Severity: normal | Resolution:
Keywords: |
------------------------------+------------------
Comment (by shanebp):
Great to see bp_send_mail.
Would you be willing to take into consideration the ideas in #6460 ?
Which are:
* bp_send_mail would have an apply_filters hook before it calls wp_mail.
* add a $type arg to function bp_send_email( $email_type, $to, $args ) {
The $type arg would tell you where the call came from, for example
'bp_activity_new_comment_notification_message'
Then devs could use a single filter hook ( the new one in bp_send_mail )
to filter emails based on where they came from - instead of multiple
hooks.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6592#comment:15>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list