[buddypress-trac] [BuddyPress Trac] #7431: Hook for custom email type schema

buddypress-trac noreply at wordpress.org
Tue Jan 31 19:36:36 UTC 2017


#7431: Hook for custom email type schema
-------------------------+-----------------------------
 Reporter:  finzend      |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Core         |    Version:  2.7.2
 Severity:  normal       |   Keywords:
-------------------------+-----------------------------
 Hi,

 I have added a custom notification (for a custom post type) including a
 new setting in the e-mail notification screen, so users can get alerted by
 email. I've added the new bp-email template and everything worked fine,
 except the 'new' unsubscribe link from #6932
 The link is generated by a user_id and a notification type. This type is
 looked up via the function bp_email_get_type_schema.

 It seemed I had to add a type to bp_email_get_type_schema, after that the
 unsubscribe link worked. But I had to update/change the code in bp-core-
 functions, because there wasnt any hook available. Could such a
 hook/action be implemented?

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


More information about the buddypress-trac mailing list