apply_filters( 'bp_xprofile_new_avatar_user_id', int $user_id )

Filters the user ID when a user has uploaded a new avatar.

Description

Parameters

$user_id

ID of the user the avatar was set for.

Source

File: bp-xprofile/bp-xprofile-activity.php

Changelog

Changelog
Version Description
BuddyPress 1.5.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.