groups_avatar_uploaded, bp_get_current_group_id(
groups_avatar_uploaded, bp_get_current_group_id(
Appears in: buddypress.14.5.2
Hook Type: action
Displaying hooks found in version: buddypress.14.5.2do_action('groups_avatar_uploaded, bp_get_current_group_id(') is found 2 times:
- /bp-groups/actions/create.php line 292
* @param string $type Avatar type. 'crop' or 'camera'. * @param array $args Array of parameters passed to the crop handler. * @param array $cropped_avatar Array containing the full, thumb avatar and the timestamp. */ do_action( 'groups_avatar_uploaded', bp_get_current_group_id(), 'crop', $args, $cropped_avatar ); bp_core_add_message( __( 'The group profile photo was uploaded successfully.', 'buddypress' ) ); } } }
- /bp-groups/screens/single/admin/group-avatar.php line 95
* @param string $type Avatar type. 'crop' or 'camera'. * @param array $args Array of parameters passed to the avatar handler. * @param array $cropped_avatar Array containing the full, thumb avatar and the timestamp. */ do_action( 'groups_avatar_uploaded', bp_get_current_group_id(), 'crop', $args, $cropped_avatar ); bp_core_add_message( __( 'The new group profile photo was uploaded successfully.', 'buddypress' ) ); } } /** * Fires before the loading of the group Change Avatar page template.