Changeset 2697 for trunk/bp-groups/bp-groups-notifications.php
- Timestamp:
- 02/12/2010 01:01:19 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/bp-groups/bp-groups-notifications.php (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-groups/bp-groups-notifications.php
r2663 r2697 29 29 $message .= sprintf( __( 'To disable these notifications please log in and go to: %s', 'buddypress' ), $settings_link ); 30 30 31 // Send it 31 /* Send the message */ 32 $to = apply_filters( 'groups_notification_group_updated_to', $to ); 33 $subject = apply_filters( 'groups_notification_group_updated_subject', $subject ); 34 $message = apply_filters( 'groups_notification_group_updated_message', $message ); 35 32 36 wp_mail( $to, $subject, $message ); 33 37 … … 73 77 $message .= sprintf( __( 'To disable these notifications please log in and go to: %s', 'buddypress' ), $settings_link ); 74 78 75 // Send it 79 /* Send the message */ 80 $to = apply_filters( 'groups_notification_new_membership_request_to', $to ); 81 $subject = apply_filters( 'groups_notification_new_membership_request_subject', $subject ); 82 $message = apply_filters( 'groups_notification_new_membership_request_message', $message ); 83 76 84 wp_mail( $to, $subject, $message ); 77 85 } … … 122 130 $message .= sprintf( __( 'To disable these notifications please log in and go to: %s', 'buddypress' ), $settings_link ); 123 131 124 // Send it 132 /* Send the message */ 133 $to = apply_filters( 'groups_notification_membership_request_completed_to', $to ); 134 $subject = apply_filters( 'groups_notification_membership_request_completed_subject', $subject ); 135 $message = apply_filters( 'groups_notification_membership_request_completed_message', $message ); 136 125 137 wp_mail( $to, $subject, $message ); 126 138 } … … 164 176 $message .= sprintf( __( 'To disable these notifications please log in and go to: %s', 'buddypress' ), $settings_link ); 165 177 166 // Send it 178 /* Send the message */ 179 $to = apply_filters( 'groups_notification_promoted_member_to', $to ); 180 $subject = apply_filters( 'groups_notification_promoted_member_subject', $subject ); 181 $message = apply_filters( 'groups_notification_promoted_member_message', $message ); 182 167 183 wp_mail( $to, $subject, $message ); 168 184 } … … 212 228 $message .= sprintf( __( 'To disable these notifications please log in and go to: %s', 'buddypress' ), $settings_link ); 213 229 214 // Send it 230 /* Send the message */ 231 $to = apply_filters( 'groups_notification_group_invites_to', $to ); 232 $subject = apply_filters( 'groups_notification_group_invites_subject', $subject ); 233 $message = apply_filters( 'groups_notification_group_invites_message', $message ); 234 215 235 wp_mail( $to, $subject, $message ); 216 236 } … … 262 282 $message .= sprintf( __( 'To disable these notifications please log in and go to: %s', 'buddypress' ), $settings_link ); 263 283 264 // Send it 284 /* Send the message */ 285 $to = apply_filters( 'groups_at_message_notification_to', $to ); 286 $subject = apply_filters( 'groups_at_message_notification_subject', $subject ); 287 $message = apply_filters( 'groups_at_message_notification_message', $message ); 288 265 289 wp_mail( $to, $subject, $message ); 266 290 }
Note: See TracChangeset
for help on using the changeset viewer.