Skip to:

Opened 6 months ago

Last modified 6 months ago

#8173 new enhancement

Hook to filter list of e-mails

Reported by: espellcaste Owned by: DJPaul
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 5.0.0
Component: Emails Keywords: good-first-bug


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.

Change History (2)

#1 @espellcaste
6 months ago

  • Keywords good-first-bug added
  • Version set to 5.0.0

This ticket was mentioned in Slack in #buddypress by espellcaste. View the logs.

6 months ago

Note: See TracTickets for help on using tickets.