bp_members_avatar_uploaded, (int

bp_members_avatar_uploaded, (int

Appears in:
Hook Type: action

See hook in core

Displaying hooks found in version: buddypress.14.5.2

do_action('bp_members_avatar_uploaded, (int') is found 1 times:

  • /bp-members/screens/change-avatar.php line 85
    			 * @param string $type           Inform about the way the avatar was set ('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( 'bp_members_avatar_uploaded', (int) $args['item_id'], 'crop', $args, $cropped_avatar );
    
    			bp_core_add_message( __( 'Your new profile photo was uploaded successfully.', 'buddypress' ) );
    			bp_core_redirect( bp_displayed_user_url() );
    		}
    	}