Changeset 9154 for trunk/src/bp-friends/bp-friends-activity.php
- Timestamp:
- 11/18/2014 01:07:17 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-friends/bp-friends-activity.php
r8428 r9154 114 114 bp_activity_set_action( $bp->friends->id, 'friends_register_activity_action', __( 'New friendship created', 'buddypress' ) ); 115 115 116 /** 117 * Fires after all default bp-friends activity actions have been registered. 118 * 119 * @since BuddyPress (1.1.0) 120 */ 116 121 do_action( 'friends_register_activity_actions' ); 117 122 } … … 140 145 } 141 146 147 /** 148 * Filters the 'friendship_accepted' activty action format. 149 * 150 * @since BuddyPress (2.0.0) 151 * 152 * @param string $action String text for the 'friendship_accepted' action. 153 * @param object $activity Activity data. 154 */ 142 155 return apply_filters( 'bp_friends_format_activity_action_friendship_accepted', $action, $activity ); 143 156 } … … 166 179 } 167 180 181 /** 182 * Filters the 'friendship_created' activty action format. 183 * 184 * @since BuddyPress (2.0.0) 185 * 186 * @param string $action String text for the 'friendship_created' action. 187 * @param object $activity Activity data. 188 */ 168 189 return apply_filters( 'bp_friends_format_activity_action_friendship_created', $action, $activity ); 169 190 }
Note: See TracChangeset
for help on using the changeset viewer.