Changeset 10147 for trunk/src/bp-friends/bp-friends-functions.php
- Timestamp:
- 09/27/2015 05:08:37 AM (10 years ago)
- File:
-
- 1 edited
-
trunk/src/bp-friends/bp-friends-functions.php (modified) (18 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-friends/bp-friends-functions.php
r10037 r10147 1 1 <?php 2 3 2 /** 4 3 * BuddyPress Friends Functions. … … 13 12 */ 14 13 15 // Exit if accessed directly 14 // Exit if accessed directly. 16 15 defined( 'ABSPATH' ) || exit; 17 16 … … 75 74 * The two potential hooks are: friends_friendship_requested, friends_friendship_accepted. 76 75 * 77 * @since BuddyPress (1.0.0)76 * @since 1.0.0 78 77 * 79 78 * @param int $id ID of the pending friendship connection. … … 106 105 * for the user who canceled the friendship. 107 106 * 108 * @since BuddyPress (1.5.0)107 * @since 1.5.0 109 108 * 110 109 * @param int $friendship_id ID of the friendship object, if any, between a pair of users. … … 123 122 * This is your last chance to do something while the friendship exists. 124 123 * 125 * @since BuddyPress (1.0.0)124 * @since 1.0.0 126 125 * 127 126 * @param int $friendship_id ID of the friendship object, if any, between a pair of users. … … 137 136 * Fires after the friendship connection is removed. 138 137 * 139 * @since BuddyPress (1.8.0)138 * @since 1.8.0 140 139 * 141 140 * @param int $initiator_userid ID of the friendship initiator. … … 173 172 * Fires after a friendship is accepted. 174 173 * 175 * @since BuddyPress (1.0.0)174 * @since 1.0.0 176 175 * 177 176 * @param int $id ID of the pending friendship object. … … 203 202 * Fires after a friendship request is rejected. 204 203 * 205 * @since BuddyPress (1.0.0)204 * @since 1.0.0 206 205 * 207 206 * @param int $friendship_id ID of the pending friendship. … … 236 235 * Fires after a friendship request has been withdrawn. 237 236 * 238 * @since BuddyPress (1.9.0)237 * @since 1.9.0 239 238 * 240 239 * @param int $friendship_id ID of the friendship. … … 307 306 * Filters the total friend count for a given user. 308 307 * 309 * @since BuddyPress (1.2.0)308 * @since 1.2.0 310 309 * 311 310 * @param int $count Total friend count for a given user. … … 412 411 * Filters a user's most recently active friends. 413 412 * 414 * @since BuddyPress (1.2.0)413 * @since 1.2.0 415 414 * 416 415 * @param array { … … 442 441 * Filters a user's friends listed in alphabetical order. 443 442 * 444 * @since BuddyPress (1.2.0)443 * @since 1.2.0 445 444 * 446 445 * @return array { … … 472 471 * Filters a user's friends listed from newest to oldest. 473 472 * 474 * @since BuddyPress (1.2.0)473 * @since 1.2.0 475 474 * 476 475 * @param array { … … 502 501 * user is not a group admin. 503 502 * 504 * @since BuddyPress (1.0.0)503 * @since 1.0.0 505 504 * 506 505 * @param int $user_id User ID whose friends to see can be invited. Default: … … 525 524 * Filters default arguments for list of friends a user can invite into this group. 526 525 * 527 * @since BuddyPress (1.5.4)526 * @since 1.5.4 528 527 * 529 528 * @param array $value Array of default parameters for invite list. … … 578 577 * Filters the list of potential friends that can be invited to this group. 579 578 * 580 * @since BuddyPress (1.5.4)579 * @since 1.5.4 581 580 * 582 581 * @param array|bool $friends Array friends available to invite or false for no friends. … … 695 694 * Fires before deletion of friend-related data for a given user. 696 695 * 697 * @since BuddyPress (1.5.0)696 * @since 1.5.0 698 697 * 699 698 * @param int $user_id ID for the user whose friend data is being removed. … … 709 708 * Fires after deletion of friend-related data for a given user. 710 709 * 711 * @since BuddyPress (1.0.0)710 * @since 1.0.0 712 711 * 713 712 * @param int $user_id ID for the user whose friend data is being removed.
Note: See TracChangeset
for help on using the changeset viewer.