Changeset 9204 for trunk/src/bp-groups/bp-groups-functions.php
- Timestamp:
- 11/29/2014 04:04:42 PM (11 years ago)
- File:
-
- 1 edited
-
trunk/src/bp-groups/bp-groups-functions.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-groups/bp-groups-functions.php
r9152 r9204 191 191 return false; 192 192 193 $group = groups_get_group( array( 'group_id' => $group_id ) ); 193 $group = groups_get_group( array( 'group_id' => $group_id ) ); 194 $old_group = clone $group; 195 194 196 $group->name = $group_name; 195 197 $group->description = $group_desc; … … 202 204 } 203 205 204 do_action( 'groups_details_updated', $group->id ); 206 /** 207 * Fired after a group's details are updated. 208 * 209 * @since BuddyPress (2.2.0) 210 * 211 * @param int $value ID of the group. 212 * @param BP_Groups_Group $old_group Group object, before being modified. 213 * @param bool $notify_members Whether to send an email notification to members about the change. 214 */ 215 do_action( 'groups_details_updated', $group->id, $old_group, $notify_members ); 205 216 206 217 return true;
Note: See TracChangeset
for help on using the changeset viewer.