Changeset 2697 for trunk/bp-friends/bp-friends-notifications.php
- Timestamp:
- 02/12/2010 01:01:19 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/bp-friends/bp-friends-notifications.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-friends/bp-friends-notifications.php
r2307 r2697 33 33 $message .= sprintf( __( 'To disable these notifications please log in and go to: %s', 'buddypress' ), $settings_link ); 34 34 35 // Send it 35 /* Send the message */ 36 $to = apply_filters( 'friends_notification_new_request_to', $to ); 37 $subject = apply_filters( 'friends_notification_new_request_subject', $subject ); 38 $message = apply_filters( 'friends_notification_new_request_message', $message ); 39 36 40 wp_mail( $to, $subject, $message ); 37 41 } 38 39 42 40 43 function friends_notification_accepted_request( $friendship_id, $initiator_id, $friend_id ) { … … 67 70 $message .= sprintf( __( 'To disable these notifications please log in and go to: %s', 'buddypress' ), $settings_link ); 68 71 69 // Send it 72 /* Send the message */ 73 $to = apply_filters( 'friends_notification_accepted_request_to', $to ); 74 $subject = apply_filters( 'friends_notification_accepted_request_subject', $subject ); 75 $message = apply_filters( 'friends_notification_accepted_request_message', $message ); 76 70 77 wp_mail( $to, $subject, $message ); 71 78 } 72 79 73 74 80 ?>
Note: See TracChangeset
for help on using the changeset viewer.