Changeset 10077 for trunk/src/bp-activity/bp-activity-notifications.php
- Timestamp:
- 08/31/2015 06:51:35 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-activity/bp-activity-notifications.php
r9834 r10077 1 1 <?php 2 3 2 /** 4 3 * BuddyPress Activity Notifications. … … 16 15 * Send email and BP notifications when a user is mentioned in an update. 17 16 * 18 * @since BuddyPress (1.2.0)17 * @since 1.2.0 19 18 * 20 19 * @uses bp_notifications_add_notification() … … 103 102 * Filters the user email that the @mention notification will be sent to. 104 103 * 105 * @since BuddyPress (1.2.0)104 * @since 1.2.0 106 105 * 107 106 * @param string $to User email the notification is being sent to. … … 112 111 * Filters the @mention notification subject that will be sent to user. 113 112 * 114 * @since BuddyPress (1.2.0)113 * @since 1.2.0 115 114 * 116 115 * @param string $subject Email notification subject text. … … 122 121 * Filters the @mention notification message that will be sent to user. 123 122 * 124 * @since BuddyPress (1.2.0)123 * @since 1.2.0 125 124 * 126 125 * @param string $message Email notification message text. … … 138 137 * Fires after the sending of an @mention email notification. 139 138 * 140 * @since BuddyPress (1.5.0)139 * @since 1.5.0 141 140 * 142 141 * @param BP_Activity_Activity $activity Activity Item object. … … 152 151 * Send email and BP notifications when an activity item receives a comment. 153 152 * 154 * @since BuddyPress (1.2.0)153 * @since 1.2.0 155 154 * 156 155 * @uses bp_get_user_meta() … … 221 220 * Filters the user email that the new comment notification will be sent to. 222 221 * 223 * @since BuddyPress (1.2.0)222 * @since 1.2.0 224 223 * 225 224 * @param string $to User email the notification is being sent to. … … 230 229 * Filters the new comment notification subject that will be sent to user. 231 230 * 232 * @since BuddyPress (1.2.0)231 * @since 1.2.0 233 232 * 234 233 * @param string $subject Email notification subject text. … … 240 239 * Filters the new comment notification message that will be sent to user. 241 240 * 242 * @since BuddyPress (1.2.0)241 * @since 1.2.0 243 242 * 244 243 * @param string $message Email notification message text. … … 255 254 * Fires after the sending of a reply to an update email notification. 256 255 * 257 * @since BuddyPress (1.5.0)256 * @since 1.5.0 258 257 * 259 258 * @param int $user_id ID of the original activity item author. … … 309 308 * Filters the user email that the new comment reply notification will be sent to. 310 309 * 311 * @since BuddyPress (1.2.0)310 * @since 1.2.0 312 311 * 313 312 * @param string $to User email the notification is being sent to. … … 318 317 * Filters the new comment reply notification subject that will be sent to user. 319 318 * 320 * @since BuddyPress (1.2.0)319 * @since 1.2.0 321 320 * 322 321 * @param string $subject Email notification subject text. … … 328 327 * Filters the new comment reply notification message that will be sent to user. 329 328 * 330 * @since BuddyPress (1.2.0)329 * @since 1.2.0 331 330 * 332 331 * @param string $message Email notification message text. … … 343 342 * Fires after the sending of a reply to a reply email notification. 344 343 * 345 * @since BuddyPress (1.5.0)344 * @since 1.5.0 346 345 * 347 346 * @param int $user_id ID of the parent activity item author. … … 359 358 * Helper method to map action arguments to function parameters. 360 359 * 361 * @since BuddyPress (1.9.0)360 * @since 1.9.0 362 361 * 363 362 * @param int $comment_id … … 374 373 * Format notifications related to activity. 375 374 * 376 * @since BuddyPress (1.5.0)375 * @since 1.5.0 377 376 * 378 377 * @uses bp_loggedin_user_domain() … … 420 419 * or bp_activity_multiple_at_mentions_notification. 421 420 * 422 * @since BuddyPress (1.5.0)421 * @since 1.5.0 423 422 * 424 423 * @param string $string HTML anchor tag for the mention. … … 438 437 * or bp_activity_multiple_at_mentions_notification. 439 438 * 440 * @since BuddyPress (1.5.0)439 * @since 1.5.0 441 440 * 442 441 * @param array $array Array holding the content and permalink for the mention notification. … … 455 454 * Fires right before returning the formatted activity notifications. 456 455 * 457 * @since BuddyPress (1.2.0)456 * @since 1.2.0 458 457 * 459 458 * @param string $action The type of activity item. … … 475 474 * 'bp_activity_at_name_send_emails' equivalent helper function. 476 475 * 477 * @since BuddyPress (1.9.0)476 * @since 1.9.0 478 477 * 479 478 * @param object $activity … … 501 500 * Mark at-mention notifications as read when users visit their Mentions page. 502 501 * 503 * @since BuddyPress (1.5.0)502 * @since 1.5.0 504 503 * 505 504 * @uses bp_notifications_mark_all_notifications_by_type() … … 522 521 * Mark at-mention notification as read when user visits the activity with the mention. 523 522 * 524 * @since BuddyPress (2.0.0)523 * @since 2.0.0 525 524 * 526 525 * @param object BP_Activity_Activity … … 544 543 * Delete at-mention notifications when the corresponding activity item is deleted. 545 544 * 546 * @since BuddyPress (2.0.0)545 * @since 2.0.0 547 546 * 548 547 * @param array $activity_ids_deleted IDs of deleted activity items.
Note: See TracChangeset
for help on using the changeset viewer.