Changeset 7108
- Timestamp:
- 05/27/2013 01:02:30 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-friends/bp-friends-functions.php
r6342 r7108 66 66 friends_delete_activity( array( 'item_id' => $friendship_id, 'type' => 'friendship_accepted', 'user_id' => bp_displayed_user_id() ) ); 67 67 68 // This hook is misleadingly named - the friendship is not yet deleted. 69 // This is your last chance to do something while the friendship exists 68 70 do_action( 'friends_friendship_deleted', $friendship_id, $initiator_userid, $friend_userid ); 69 71 … … 73 75 return true; 74 76 } 77 78 do_action( 'friends_friendship_post_delete', $initiator_userid, $friend_userid ); 75 79 76 80 return false;
Note: See TracChangeset
for help on using the changeset viewer.