Changeset 7558 for trunk/bp-friends/bp-friends-notifications.php
- Timestamp:
- 11/11/2013 12:52:44 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-friends/bp-friends-notifications.php
r6917 r7558 14 14 if ( !defined( 'ABSPATH' ) ) exit; 15 15 16 /** 17 * Send notifications related to a new friendship request. 18 * 19 * When a friendship is requested, an email and a BP notification are sent to 20 * the user of whom friendship has been requested ($friend_id). 21 * 22 * @param int $friendship_id ID of the friendship object. 23 * @param int $initiator_id ID of the user who initiated the request. 24 * @param int $friend_id ID of the request recipient. 25 */ 16 26 function friends_notification_new_request( $friendship_id, $initiator_id, $friend_id ) { 17 27 … … 55 65 } 56 66 67 /** 68 * Send notifications related to the acceptance of a friendship request. 69 * 70 * When a friendship request is accepted, an email and a BP notification are 71 * sent to the user who requested the friendship ($initiator_id). 72 * 73 * @param int $friendship_id ID of the friendship object. 74 * @param int $initiator_id ID of the user who initiated the request. 75 * @param int $friend_id ID of the request recipient. 76 */ 57 77 function friends_notification_accepted_request( $friendship_id, $initiator_id, $friend_id ) { 58 78
Note: See TracChangeset
for help on using the changeset viewer.