do_action( 'clanbite_player_avatar_updated', int $user_id, int $attachment_id )Fires after the player successfully uploads a new profile avatar attachment.
Action PHP
Parameters
$user_id(int)Profile owner user ID.
$attachment_id(int)New attachment ID.
Example
add_action( 'clanbite_player_avatar_updated', function ( $user_id, $attachment_id ) {
// Run your code.
}, 10, 2 );Defined in inc/extensions/players/class-extension-players.php