Skip to:
Content

BuddyPress.org

Opened 4 days ago

Last modified 39 hours 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
Cc:

Description

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
4 days 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.


39 hours ago

Note: See TracTickets for help on using tickets.