Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
11/11/2013 12:52:44 AM (12 years ago)
Author:
boonebgorges
Message:

Improve inline docs in bp-friends component. See #5022

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-friends/bp-friends-notifications.php

    r6917 r7558  
    1414if ( !defined( 'ABSPATH' ) ) exit;
    1515
     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 */
    1626function friends_notification_new_request( $friendship_id, $initiator_id, $friend_id ) {
    1727
     
    5565}
    5666
     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 */
    5777function friends_notification_accepted_request( $friendship_id, $initiator_id, $friend_id ) {
    5878
Note: See TracChangeset for help on using the changeset viewer.