do_action( 'groups_avatar_uploaded', int $group_id, string $type, array $args )

Fires after a group avatar is uploaded.

Description

Parameters

$group_id

(int) ID of the group.

$type

(string) Avatar type. 'crop' or 'full'.

$args

(array) Array of parameters passed to the avatar handler.

Source

File: bp-groups/screens/single/admin/group-avatar.php

Changelog

Changelog
Version Description
BuddyPress 2.8.0 Introduced.

Questions?

We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.