Skip to:
Content

BuddyPress.org

Changeset 11664


Ignore:
Timestamp:
08/04/2017 02:53:56 PM (8 years ago)
Author:
djpaul
Message:

Emails: support email-specific templates in assets folder.

Mirrors existing support for the same outside the assets folder.

Fixes #7434

Props espellcaste, r-a-y.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-core/bp-core-functions.php

    r11514 r11664  
    32953295     */
    32963296    return apply_filters( 'bp_email_get_template', array(
     3297        "assets/emails/{$single}-{$object->post_name}.php",
    32973298        "{$single}-{$object->post_name}.php",
    32983299        "{$single}.php",
Note: See TracChangeset for help on using the changeset viewer.