Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
11/06/2010 02:32:52 PM (15 years ago)
Author:
boonebgorges
Message:

Adds do_action hooks after notification emails are sent throughout BuddyPress. Fixes #2397. Props r-a-y and jessica120 for prodding

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-activity/bp-activity-notifications.php

    r3300 r3362  
    5252        }
    5353    }
     54   
     55    do_action( 'bp_activity_sent_mention_email', $usernames, $subject, $message, $content, $poster_user_id, $activity_id );
    5456}
    5557add_action( 'bp_activity_posted_update', 'bp_activity_at_message_notification', 10, 3 );
     
    9496
    9597        wp_mail( $to, $subject, $message );
     98       
     99        do_action( 'bp_activity_sent_reply_to_update_email', $original_activity->user_id, $subject, $message, $comment_id, $commenter_id, $params );
    96100    }
    97101
     
    137141
    138142        wp_mail( $to, $subject, $message );
     143       
     144        do_action( 'bp_activity_sent_reply_to_reply_email', $original_activity->user_id, $subject, $message, $comment_id, $commenter_id, $params );
    139145    }
    140146}
Note: See TracChangeset for help on using the changeset viewer.