[buddypress-trac] [BuddyPress Trac] #7434: BP Email Template Hierarchy

buddypress-trac noreply at wordpress.org
Tue Feb 7 19:26:11 UTC 2017

#7434: BP Email Template Hierarchy
 Reporter:  espellcaste            |       Owner:  DJPaul
     Type:  enhancement            |      Status:  new
 Priority:  normal                 |   Milestone:  2.9
Component:  Emails                 |     Version:
 Severity:  normal                 |  Resolution:
 Keywords:  has-patch 2nd-opinion  |

Comment (by r-a-y):

 @espellcaste - Based on what you wrote here:


  Here follows the order I believe would be better:

     Look for the template on buddypress/assets/emails/single-bp-emails-
     Look for the template on the theme folder: single-bp-emails.php
     Look for the template on buddypress/assets/emails/single-bp-

 I added another patch based on your suggestions.  The problem with
 `1.patch` is you would break existing template checks for `/single-bp-

 You could also use the provided `'bp_email_get_template'` filter to add in
 your extra template to the beginning of the array.

Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7434#comment:4>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac

More information about the buddypress-trac mailing list