[buddypress-trac] [BuddyPress Trac] #8173: Hook to filter list of e-mails

buddypress-trac noreply at wordpress.org
Mon Dec 2 00:50:07 UTC 2019


#8173: Hook to filter list of e-mails
-------------------------+-----------------------------
 Reporter:  espellcaste  |      Owner:  DJPaul
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Emails       |    Version:
 Severity:  normal       |   Keywords:
-------------------------+-----------------------------
 Suggestion: Allow devs to hook into the `bp_email_get_schema` so that they
 can add or remove emails.

 One can add emails via the `bp_core_install_emails` hook, but it is not
 that easy to remove it. Forcing the developer to come up with creative
 ways to accomplish this task.

 Also, a lot of code is duplicated in the `bp_core_install_emails` function
 to create new emails. So the hook on the schema function would avoid this
 code duplication.

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/8173>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list