[buddypress-trac] [BuddyPress Trac] #6515: Allow plugins to filter groups_format_notifications unmatched return values.
buddypress-trac
noreply at wordpress.org
Mon Jun 22 22:07:54 UTC 2015
#6515: Allow plugins to filter groups_format_notifications unmatched return
values.
---------------------------------------+--------------------
Reporter: dcavins | Owner:
Type: enhancement | Status: new
Priority: lowest | Milestone: 2.4
Component: Component - Notifications | Version: 2.3.2
Severity: trivial | Resolution:
Keywords: has-patch commit |
---------------------------------------+--------------------
Comment (by dcavins):
John, if we add a default case hook sort of like I've done in
6515.02.patch, then we could break the function up into similar
component-y pieces--for instance, moving the membership request and
invitation cases out to the requests/invites code and hooking into the new
default case using the dynamic hooks:
`bp_groups_new_membership_request_notification`
`bp_groups_membership_request_accepted_notification`
`bp_groups_membership_request_rejected_notification`
`bp_groups_group_invite_notification`
Does that seem like a good approach?
Thanks for the feedback!
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6515#comment:3>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list