do_action( 'xprofile_avatar_uploaded', string $item_id , string $value )
Fires right before the redirect, after processing a new avatar.
Description
Parameters
- $item_id
-
Inform about the user id the avatar was set for.
- $value
-
Inform about the way the avatar was set ('crop').
Source
Changelog
Version | Description |
---|---|
BuddyPress 1.1.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.