Changeset 7401
- Timestamp:
- 10/08/2013 08:58:13 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-activity/bp-activity-notifications.php
r6917 r7401 2 2 3 3 /** 4 * BuddyPress Activity Notifications 4 * BuddyPress Activity Notifications. 5 5 * 6 6 * @package BuddyPress … … 12 12 13 13 /** 14 * Send s an email notification and a BP notification when someone mentions you in an update14 * Send email and BP notifications when a user is mentioned in an update. 15 15 * 16 16 * @since BuddyPress (1.2) 17 *18 * @param int $activity_id The id of the activity update19 * @param int $receiver_user_id The unique user_id of the user who is receiving the update20 17 * 21 18 * @uses bp_core_add_notification() … … 32 29 * @uses bp_is_group() 33 30 * @uses bp_get_current_group_name() 34 * @uses apply_filters() To call the 'bp_activity_at_message_notification_to' hook 35 * @uses apply_filters() To call the 'bp_activity_at_message_notification_subject' hook 36 * @uses apply_filters() To call the 'bp_activity_at_message_notification_message' hook 31 * @uses apply_filters() To call the 'bp_activity_at_message_notification_to' hook. 32 * @uses apply_filters() To call the 'bp_activity_at_message_notification_subject' hook. 33 * @uses apply_filters() To call the 'bp_activity_at_message_notification_message' hook. 37 34 * @uses wp_mail() 38 35 * @uses do_action() To call the 'bp_activity_sent_mention_email' hook 36 * 37 * @param int $activity_id The ID of the activity update. 38 * @param int $receiver_user_id The ID of the user who is receiving the update. 39 39 */ 40 40 function bp_activity_at_message_notification( $activity_id, $receiver_user_id ) { … … 113 113 114 114 /** 115 * Send s an email notification and a BP notification when someone mentions you in an update115 * Send email and BP notifications when an activity item receives a comment. 116 116 * 117 117 * @since BuddyPress (1.2) 118 *119 * @param int $comment_id The comment id120 * @param int $commenter_id The unique user_id of the user who posted the comment121 * @param array $params {@link bp_activity_new_comment()}122 118 * 123 119 * @uses bp_get_user_meta() … … 140 136 * @uses apply_filters() To call the 'bp_activity_new_comment_notification_comment_author_message' hook 141 137 * @uses do_action() To call the 'bp_activity_sent_reply_to_reply_email' hook 138 * 139 * @param int $comment_id The comment id. 140 * @param int $commenter_id The ID of the user who posted the comment. 141 * @param array $params {@link bp_activity_new_comment()} 142 142 */ 143 143 function bp_activity_new_comment_notification( $comment_id, $commenter_id, $params ) {
Note: See TracChangeset
for help on using the changeset viewer.